Adding Facebook login provider
I see there are options to login/register using twitter, linkedin, google..... is there a facebook option?
I see there are options to login/register using twitter, linkedin, google..... is there a facebook option?
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
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 ?
@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 ;)
To enter a block of code:
Comments