问题描述
我有一个Facebook网站(网站,不是profil墙),并希望在网页上显示消息提要。如果我使用
I have a facebook site (site, not profil wall) and would like to display the message feed on a webpage. This already works fine if I use
https://graph.facebook.com/177610425663218/feed
但是我需要一个access_token。使用,我可以生成一个临时令牌。
But I need an access_token for this. Using the Graph Explorer I can generate a temporary token.
我知道我可以创建一个OAuth,但是我不希望我的网页的每个访问者登录到Facebook只是为了看到feed。必须有另一种方式...也许使用PHP而不是Javascript?
I know I can create an OAuth but I don't want every visitor of my webpage to login into facebook just to see the feeds. There must be another way... Maybe using PHP instead of Javascript?
推荐答案
我不认为你可以做到没有访问令牌,但检查我的答案,了解获取和检索所需Feed的详细步骤。
I don't think you can do it without the access token anymore, but check my answer here for detailed steps on getting one and retrieving the feed you want.
这篇关于如何在没有access_token的情况下显示我的网站的facebook feed消息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!