Ask Your Question
2

Adding Facebook login provider

asked 2012-09-21 12:06:32 -0500

wesley gravatar image wesley
31 2 2

updated 2012-09-21 23:05:04 -0500

todofixthis gravatar image todofixthis flag of Chile
1082 14 17 36
http://www.fiveyearsabroa...

I see there are options to login/register using twitter, linkedin, google..... is there a facebook option?

delete close flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-09-21 18:24:41 -0500

Edur gravatar image Edur flag of Germany
56 1 5

Sure, go to your Askbot page, login with your Admin Account, go into the 'settings' => 'login providers (Login, Users & Communication)' and check "Activate Facebook login".

Don't forget the Facebook public&secret keys (in the settings, 'external services')

Facebook API key and Facebook secret allow to use Facebook Connect login method at your site. Please obtain these keys at facebook create app site

link publish delete flag offensive edit
0

answered 2013-02-01 11:12:20 -0500

coldsystem gravatar image coldsystem
31 3 2

i have no facebook /twitter icons in my register page. how to activate it . from settings, even after activating this option, still not work :

#CSRF_COOKIE_DOMAIN = DOMAIN_NAME

STATIC_ROOT = os.path.join(PROJECT_ROOT, "static")
STATICFILES_DIRS = (
    ('default/media', os.path.join(ASKBOT_ROOT, 'media')),
)

RECAPTCHA_USE_SSL = True

#HAYSTACK_SETTINGS
ENABLE_HAYSTACK_SEARCH = False
HAYSTACK_SITECONF = 'askbot.search.haystack'
#more information
#http://django-haystack.readthedocs.org/en/v1.2.7/settings.html
HAYSTACK_SEARCH_ENGINE = 'simple'

TINYMCE_COMPRESSOR = True
TINYMCE_SPELLCHECKER = False
TINYMCE_JS_ROOT = os.path.join(STATIC_ROOT, 'default/media/js/tinymce/')
TINYMCE_URL = STATIC_URL + 'default/media/js/tinymce/'
TINYMCE_DEFAULT_CONFIG = {
    'plugins': 'askbot_imageuploader,askbot_attachment',
    'convert_urls': False,
    'theme': 'advanced',
    'content_css': STATIC_URL + 'default/media/style/tinymce/content.css',
    'force_br_newlines': True,
    'force_p_newlines': False,
    'forced_root_block': '',
    'mode' : 'textareas',
    'oninit': "function(){ tinyMCE.activeEditor.setContent(askbot['data']['editorContent'] || ''); }",
    'plugins': 'askbot_imageuploader,askbot_attachment',
    'theme_advanced_toolbar_location' : 'top',
    'theme_advanced_toolbar_align': 'left',

How to fix this from setting.py ?

link publish delete flag offensive edit

Comments

@coldsystem you do not need to change anything on your setting.py. Once you add the facebook keys in your settings page, the FB logo will appear automatically ;)

oscarfh ( 2013-02-01 13:11:22 -0500 )edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!

[hide preview]

Reliable Askbot Hosting

Create your Q&A site at askbot.com. Managed Askbot hosting at just $15/mo. Dedicated hosting, support contracts, consulting services.

create your Q&A site
30 days free trial

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-09-21 12:06:32 -0500

Seen: 122 times

Last updated: Feb 01