Facebook 應用開發小抄: Add App to Pages

如果只是要讓user加 app 到他的個人 profile tab, 只需要 <fb:add-profile-tab> 就可以了。但若要讓人加到粉絲頁的話呢?

一個URL搞定:

http://www.facebook.com/add.php?api_key=[Your App Key]&pages

若要指定預選某粉絲頁:

http://www.facebook.com/add.php?api_key=[Your App Key]&pages=1&page=[Page ID]

Reference:

更新 2012-01-07:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL

Leave a Reply

Your email address will not be published. Required fields are marked *