Facebook Graph API Post to Page returns duplicate ID
When I use the Facebook Graph API to post to a wall as that wall (using the page access token generated from a user with the appropriate permissions), the request always returns the same ID (so it successfully posts, but I'm not getting a unique ID-开发者_运维百科-it's the same every time). As such, I can't get the actual post ID, so I can't delete that post. Has anyone else had this issue? Is there any way to get the actual ID? I've tried various libs and methods, and this seems universal, so I don't think it's any sort of wrapper issue, but rather an issue with the Graph API itself.
Thanks!
UPDATE: It turns out this was an issue with the Ruby gem I was using--so it was in fact a wrapper issue.
To further clarify--I was using my own forked version of the Koala ruby gem (I added an option to send the request params as data, rather than form-encoded) and borked what was being returned. So this was entirely on me. Users of the Koala gem shouldn't have this issue.
精彩评论