Facebook Comment API

According to these docs: https://developers.facebook.com/blog/post/2013/04/03/new-apis-for-comment-replies/ and https://developers.facebook.com/docs/reference/api/Comment/, I should be able to GET comments of a post with {object_i}/comments and replies with {comment_id}/commnets.

The former works, but the latter not.

For example: http://graph.facebook.com/10151655724337952/comments, but not http://graph.facebook.com/10151655724337952_10460030/comments.

Object http://graph.facebook.com/10151655724337952_10460030 is fine.

Original post: https://www.facebook.com/photo.php?fbid=10151655724337952&set=a.114456157951.118433.8062627951&type=1.

What am I missing?

Answers


The {comment_id}/comments connection needs a valid access token. It's weird (since the parent comment didn't need it) but if you supply an access token you can retrieve the response.

Most likely one more of these calls were to be restricted by access tokens as defined by the documentation. This happens for a few other connections and basically ends up being a contradiction either in the documentation or API response.

(I'll leave this up to Facebook Bug Team to figure out @_@)


Need Your Help

show all tables in MS query editor “Excel”

database excel ms-access excel-vba

via Excel 2003 vba I made dsn connection by this method

Add classes to adjacent elements dynamically on mouseenter

css angularjs ng-repeat ng-class

I'm creating a grid of elements and have a hover effect in place, using CSS transitions, for each element. I'd like to add secondary effects on adjacent x- and y-axis elements as well, creating a c...

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.