所以我被告知要做这个不太清楚的项目,我应该创建一个facebook页面,并使用opengraph将来自另一个facebook页面的内容填充到其中。对于这个项目,我不需要使用facebook应用程序...如何在PHP中使用Opengraph实现这一点??
1. Create a Facebook fan page and populate content from Facebook.com/TomClancyAuthor (six pieces will be sufficient for this exercise)
2. Set the ‘Age Restriction’ to ‘people 17 and over’
3. Using Open Graph, consume and display the content of the age restricted Facebook fan page on a website
Note: Do NOT use a Facebook app for this project
发布于 2013-05-02 06:41:37
你的问题是矛盾的,你不能在没有'Facebook App‘的情况下使用'Open Graph’,因为你需要一个应用程序ID才能通过Facebook的API访问任何东西,除非该信息是完全公开的,不需要身份验证。
受年龄或地理位置限制的页面只能使用满足这些要求的用户的访问令牌进行访问,这意味着您需要这样的用户授予您的应用程序ID访问权限,以代表他们访问API。
我怀疑在问题中使用短语“Facebook App”的人不了解Facebook API的工作原理,或者是要求您避免使用特定的方法来实现此功能,而不澄清该方法是什么
https://stackoverflow.com/questions/16327570
复制相似问题