First time here? Check out the FAQ!
2

Adding Facebook login provider

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

wesley's avatar
31
wesley
asked 2012-09-21 12:06:32 -0600
todofixthis's avatar
1.3k
todofixthis
updated 2012-09-21 23:05:04 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

1

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

Edur's avatar
56
Edur
answered 2012-09-21 18:24:41 -0600
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

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's avatar
31
coldsystem
answered 2013-02-01 11:12:20 -0600
edit flag offensive 0 remove flag delete link

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's avatar oscarfh (2013-02-01 13:11:22 -0600) edit
add a comment see more comments