Application able to post on user's Wall

爷,独闯天下 提交于 2019-12-11 10:27:22

问题


I have a Fan Page and I need to post something on users Wall after clicking Like Button. Moreover I need to display different content for users who "Like" the page and for users who don't "Like" the page. Is there an application like "Static iFrame Tab" which already solves this? If not, then how to post something on users Wall? I downloaded the facebook.php file, but I haven't managed to find the required function there.


回答1:


The user's 'like' status can relatively easily be returned by decoding the signed request sent by Facebook to the page.

I've built a simple fan/like gate that is available over on GitHub - it might help you get up and running.

With regards to posting to the user's wall. I would suggest using the Javascript SDK and reading the FB.ui documentation over on Facebook.



来源:https://stackoverflow.com/questions/8148626/application-able-to-post-on-users-wall

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!