2

我使用 Graph API 永久令牌将帖子作为 Page 发布到页面的墙上。

一切都很好,但我可以看到帖子 - 其他人看不到它们。

我怎样才能解决这个问题?

这是我发送到 FB API 以将帖子创建为页面的数据:

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 get a Long Lasting Token For Posting to a Facebook Fan Page from a server

并通过此 API 路径发布所有数据 -/{page-id}/feed

结果我可以看到这个帖子,因为我是页面的管理员,我看到这个是页面。没有人可以看到它。

如何设置权限以使其对所有人开放?

4

1 回答 1

2

您的应用程序必须处于开发模式

在应用程序处于开发模式之前,只有应用程序的管理员、开发人员和测试人员可以看到帖子。您可以在设置中切换您的应用程序-

在此处输入图像描述

编辑:

在使您的应用程序上线之前,您必须获得facebook批准的权限,否则除了开发人员/管理员/测试人员之外没有人会看到这些帖子。

v2.0开始,除了 之外的权限public_profile,需要提交审核才能让你的应用上线;在那之前,只有应用程序的测试人员/管理员/开发人员才能使用这些权限测试应用程序。emailuser_friends

有关登录提交的详细信息,请参见此处。

于 2014-07-15T07:16:23.587 回答