“(#100)查找请求的故事时出错"像在帖子上发帖时遇到 [英] "(#100) Error finding the requested story" encountered when POSTing like on a post

查看:55
本文介绍了“(#100)查找请求的故事时出错"像在帖子上发帖时遇到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用Graph API来获取标记了用户的帖子,然后通过POST[post_id]/likes在帖子上发出类似的赞.但是,即使该帖子显然存在,因为我能够检索post_id,所以在发出类似消息时,也会遇到以下错误:

I'm using Graph API to get posts that a user is tagged in, and then issuing a like on the posts by POSTing to [post_id]/likes. However, even though the post obviously exists, because I was able to retrieve the post_id, when issuing the like, the following error is encountered:

(#100) Error finding the requested story

我发现这似乎只影响post_id格式为[user_id]_[post_id]的帖子.

I find that this seems to affect only posts with post_id in the format of [user_id]_[post_id].

这是已知错误还是有解决方法?

Is this a known bug or is there a workaround?

推荐答案

一个老问题,但可能会对某人有所帮助. 对我来说,问题是,如果帖子隐私是公开的,那么您可以按自己的方式访问并且可以正常工作,但是,如果隐私具有某些自定义设置,则您会遇到上述错误. 对我有用的解决方法是从用户那里获得权限"read_stream",如果用户向您授予此权限,则您可以按照与您所使用的方式相似的方式使用该帖子(即[post_id]/likes)

an old question but might help someone. For me the issue was that if the post privacy is public then you can access in the way you doing and it works fine, but if the privacy has some custom setting then you will get the above mentioned error. The fix that worked for me was to get the permission "read_stream" from the user, if user gives you this permission than you can use the post in similar way as you are doing (i.e. [post_id]/likes )

这篇关于“(#100)查找请求的故事时出错"像在帖子上发帖时遇到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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