【问题标题】:Graph API with permanent access token - posts visible only for admin具有永久访问令牌的图形 API - 帖子仅对管理员可见
【发布时间】:2014-09-04 08:56:16
【问题描述】:

我使用 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 getting a Long Lasting Token For Posting To a Facebook Fan Page from a Server

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

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

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

【问题讨论】:

    标签: facebook-graph-api facebook-permissions


    【解决方案1】:

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

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

    编辑:

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

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

    有关Login Submission的详细信息,请参见此处。

    【讨论】:

    猜你喜欢
    • 2018-01-31
    • 2011-09-11
    • 1970-01-01
    • 1970-01-01
    • 2013-01-11
    • 2013-01-20
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多