The easy step to configure your portlet as facebook app.
- Goto facebook create a sample application. for example we create a 'hareshliferay' application.
- Create a Portlet and drop it on a Portal Page.
- Now goto right top corner 'Configuration' menu.
- Click on 'Sharing' tab, and than click on child tab 'Facebook' , copy and paste API Key from Facebook application.And add canvas page URL and click on 'save' button. It generate a Callback URL, And Save.
- Copy the callback URL and specify in facebook application,in Canvas URL under the app on facebook tab, And Save
- Click on 'App Details' Menu.fill mandatory information and save than go for 'Submit App Detail Page' , if successfully done than it's showing approval status as 'Live'. Click on 'Web Preview' , it show a Facebook application page.

- Now click on 'Go to App'.your Liferay portlet is rendered as facebook app. Simply you can add "Facebook Api" in your portlet to do some facebook specific function.
No comments:
Post a Comment