我使用Graph API永久令牌将帖子发布到页面的页面。
一切都很好,但我可以看到帖子 - 别人看不到它们。
我该如何解决这个问题?
以下是我发送给FB API以创建帖子的数据:Page:
array(7) {
["message"]=>
string(2942) "Chevrolet is preparing to release its latest supercar model on the publicthe Corvette Stingray. As part of final testing and performance ratings, Corvette has enlisted a team of technical experts to put the car through its paces on the world-famous Nürbugring race course. This team is being headed up by Chevrolet Europes technical manager, Patrick Herrman, who is overseeing the two Corvette Stingray coupes that are undergoing this ultimate stress test.
The GM dynamics engineer, Jim Mero, had this to say about why Chevrolet chose to go overseas in testing their new model."
["picture"]=>
string(73) "http://test.iwsghost.com/wp-content/uploads/2014/06/corvette-stingray.jpg"
["name"]=>
string(115) "Chevrolet to Unleash All-New Corvette Stingray on Nürburgring | Nürburgring Lap Times [ nurburgringlaptimes.com ]"
["link"]=>
string(92) "http://nurburgringlaptimes.com/chevrolet-to-unleash-all-new-corvette-stingray-on-nurburgring"
["caption"]=>
string(50) "Nürburgring Lap Times [ nurburgringlaptimes.com ]"
["description"]=>
string(2942) "Chevrolet is preparing to release its latest supercar model on the publicthe Corvette Stingray. As part of final testing and performance ratings, Corvette has enlisted a team of technical experts to put the car through its paces on the world-famous Nürbugring race course. This team is being headed up by Chevrolet Europes technical manager, Patrick Herrman, who is overseeing the two Corvette Stingray coupes that are undergoing this ultimate stress test."
}
我使用永久令牌从我的服务器执行此操作。我在本教程中得到的这个标记 - What are the Steps to getting a Long Lasting Token For Posting To a Facebook Fan Page from a Server
并通过此API路径发布了所有数据 - /{page-id}/feed
因此我可以看到这些帖子,因为我是网页管理员,我将其视为网页。还有一个人可以看到它。
如何设置权限以便为所有人开放?
答案 0 :(得分:2)
您的应用必须处于开发模式。
在应用处于开发模式之前,只有应用的管理员,开发人员和测试人员才能看到帖子。您可以在设置中将应用切换为直播 -
修改强>
在开始使用您的应用之前,您必须获得facebook的权限已批准,否则只有dev / admins / testers会看到帖子。
从v2.0起,
public_profile
,user_friends
以外的权限需要提交审核才能使您的应用直播< /强>;在此之前,只有应用程序的测试人员/管理员/开发人员才能使用这些权限测试应用程序。
有关Login Submission的详细信息,请参阅此处。