Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"(#100) Error finding the requested story" encountered when POSTing like on a post

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

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?

like image 659
Ron Lim Avatar asked Mar 30 '12 02:03

Ron Lim


1 Answers

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 )

like image 102
iBabur Avatar answered Nov 11 '22 07:11

iBabur