How to: Create a Facebook App

Some of Web Cube features require a FaceBook App ID and App Secret  in order to post content from Web Cube to FaceBook. In this tutorial we'll show you how to create a FaceBook App and generate an App ID and an App Secret.

 

1. Register as a developer

a) Click on the Register as a Developer green button found at the upper right of the screen.

 

Screen_Shot_2013-04-15_at_1.33.54_PM.png

 

b) Accept the terms and click on the Continue button.

Screen_Shot_2013-04-15_at_1.34.27_PM.png

c) Add a phone number to verify the account. 

 Screen_Shot_2013-04-15_at_1.55.21_PM.png

 

d) Follow the steps then click on the Done button.

Screen_Shot_2013-04-15_at_1.57.29_PM.png

 

 

 

2. Create the FaceBook App and generate a FaceBook App ID and App Secret

 

a) On the same FaceBook page click on the Create New App button.

Screen_Shot_2013-04-15_at_2.06.38_PM.png

 

b) Provide an App Name and click on the Continue button.

Screen_Shot_2013-04-15_at_2.07.31_PM.png

 

c) Copy the App Id and App secret.

Screen_Shot_2013-04-15_at_2.09.49_PM.png

 

d) If this app is used to enable the FaceBook user authentication on your web site select the Website with FaceBook Login option and provide your website's URL.

Screen_Shot_2013-04-15_at_2.10.29_PM.png

 

If your web site is using an Cloud Web Cube installation please contact our customer service to have our team setup the Facebook user authentication for you.

If your web site is using an Enterprise Web Cube installation you may activate the Facebook user authentication by editing the Social Auth settings on your settings.py file.

 

SOCIAL_AUTH_ENABLED_BACKENDS = ('google', 'facebook',)

SOCIAL_AUTH_ASSOCIATE_BY_MAIL = True

SOCIAL_AUTH_LOGIN_REDIRECT_URL = '/accounts/'

 

TWITTER_CONSUMER_KEY         = ''

TWITTER_CONSUMER_SECRET      = ''

FACEBOOK_APP_ID              = 'Enter here your App ID provided by Facebook'

FACEBOOK_API_SECRET          = 'Enter here your App Secret provided by Facebook'

FACEBOOK_EXTENDED_PERMISSIONS = ('email',)

LINKEDIN_CONSUMER_KEY        = ''

LINKEDIN_CONSUMER_SECRET     = ''

ORKUT_CONSUMER_KEY           = ''

ORKUT_CONSUMER_SECRET        = ''

GOOGLE_CONSUMER_KEY          = ''

GOOGLE_CONSUMER_SECRET       = ''

GOOGLE_OAUTH2_CLIENT_ID      = ''

GOOGLE_OAUTH2_CLIENT_SECRET  = ''

FOURSQUARE_CONSUMER_KEY      = ''

FOURSQUARE_CONSUMER_SECRET   = ''

GITHUB_APP_ID                = ''

GITHUB_API_SECRET            = ''

DROPBOX_APP_ID               = ''

DROPBOX_API_SECRET           = ''

 

For more information on social authentication go to Django Social Auth to read more.

 

e) If this app is used to create a FaceBook tab select the Page Tab option and follow the instructions to complete the form.

Screen_Shot_2013-04-15_at_2.11.02_PM.png

For more information on how to use FaceBook tabs with Web Cube click here.

 

f) Click on the Save Changes button.

 

For more information on how to control the appearance of your website's content shared by your users on FaceBook click here.

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk