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

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

问题描述

我正在使用 Graph API 来获取用户被标记的帖子,然后通过 POST[post_id]/likes 对帖子发出赞.但是,尽管帖子明明存在,因为我能够检索到post_id,所以在发出like时,遇到了如下错误:

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

我发现这似乎只影响 [user_id]_[post_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天全站免登陆