FACEBOOK CONFIG
Configure facebook to interact with Snippet Repo Browser
- Go to http://www.facebook.com/developers/
- Enter essential information, and then click Save changes
- Please notice at API Key and Secret value. This is the value you configure in snippet.xml file.
- Choose Canvas tab in the left side.
- You may only enter value for Canvas Callback URL and Post-Authorize Redirect URL. Click Save Changes to apply the changes.
NOTE:
- Canvas Callback URL: the page that Facebook pulls the content you request, such as: get image, get stream,… This is the format: http://YOUR_IP[:PORT]/snippetrepobrowser/associatefacebook
- Post-Authorize Redirect URL: where to redirect users when they first authorize Snippet Repo browser. This is the format: http://www.facebook.com/authorize.php?api_key=a213488159946f630ac22a65990b5d42&v=1.0&ext_perm=read_stream&next=http://localhost:8080/snippetrepobrowser/associatefacebook
- api_key: the Facebook API Key as picture above
- ext_perm: the permission that allow Snippet Repo Browser access to Facebook account. (read_stream means Snippet Repo Browser can get Stream (Wall) from Facebook account)
- next: the page to be returned when Facebook authorize successfully. It must be http://YOUR_IP[:PORT]/snippetrepobrowser/associatefacebook
Attachments
-
facebookConfig1.jpg
(41.7 KB) - added by tamdlt
11 months ago.
Image 1 of Facebook Config
-
facebookConfig2.jpg
(19.5 KB) - added by tamdlt
11 months ago.
Image 2 of Facebook Config
-
facebookConfig3.jpg
(24.2 KB) - added by tamdlt
11 months ago.
Image 3 of Facebook Config
-
facebookConfig4.jpg
(26.7 KB) - added by tamdlt
11 months ago.
Image 4 of Facebook Config