尝试通过 Graph API 将 Facebook 帖子安排到用户的提要时出现权限错误 [英] Permission error when attempting to schedule a Facebook post to a user's feed via the Graph API

查看:21
本文介绍了尝试通过 Graph API 将 Facebook 帖子安排到用户的提要时出现权限错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想找到一种方法,允许我网站上的用户通过 Graph API 在他们的个人提要(/me/feed")上安排 Facebook 帖子.每当我尝试这样做时,我都会收到以下错误消息:

I'd like to find a way to allow users on my site to schedule Facebook posts on their personal feed ("/me/feed") via the Graph API. Whenever I attempt this, I receive the following error message:

(OAuthException - #200) (#200) 您无权创建预定发布

(OAuthException - #200) (#200) You do not have permission to create a scheduled post

发布非预定帖子效果很好(我只是省略了已发布和预定发布时间参数),而且我还能够通过以下方式成功将帖子预定到用户的个人页面提要(/pageID/提要")提供 publish_stream、publish_actions 和 manage_pages 权限.我是否需要建立不同的权限才能在用户的提要上创建预定的帖子?以下是我对预定发布的请求的示例:

Publishing a non-scheduled post works fine (I just leave out the published and scheduled_publish_time parameters), and I've also been able to successfully schedule a post to a user's individual page feed ("/pageID/feed") by providing the publish_stream, publish_actions, and manage_pages permissions. Do I need to establish different permissions to create a scheduled post on a user's feed? Here's a sample of the request I'm making for the scheduled post:

https://graph.facebook.com/me/feed?method=post&type=photo&access_token=AAAAAAAAAAAAAAAAAAAAA&message=Test1&picture=https%3a%2f%2fsome.jpg&published=false&scheduled_publish_time=1367301600

推荐答案

无法将预定帖子"发布到用户的时间线 - 这是一项适用于 Facebook 页面的功能,不适用于用户个人资料.

There is no way to post a 'scheduled post' to a user's Timeline - this is a feature which applies to Facebook Pages, not to users profiles.

这篇关于尝试通过 Graph API 将 Facebook 帖子安排到用户的提要时出现权限错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆