24867

Facebook graph API likes request doesn't work anymore

Question:

Last time I got the way to know how many users liked a photo with this way:

<a href="https://graph.facebook.com/161820597180936/likes?limit=1000" rel="nofollow">https://graph.facebook.com/161820597180936/likes?limit=1000</a>

But I don't know why it doesn't work anymore. Now it only returns 3 or 4 facebook users in the case they work very well before. It happened 2 days ago, so I guess facebook changed something in it's API. Any suggestions on how to solve this problem?

Answer1:

This is <a href="http://developers.facebook.com/bugs/275104435865868" rel="nofollow">a bug in the Graph API</a>, and should eventually be fixed by Facebook.

Facebook has pledged to provide <a href="http://developers.facebook.com/roadmap/change-policy/" rel="nofollow">90 day notifications before making breaking changes to the API</a>, so it is important to file bugs even if you assume that a change was intentional but there was no prior notification.

Answer2:

Now it comes back as a part of the Graph API data set.

Look at the page - <a href="https://developers.facebook.com/docs/reference/api/" rel="nofollow">https://developers.facebook.com/docs/reference/api/</a> - for what the API header is, and then under the photos, it'll show you the data set that gets returned from the photo api request - (PHP example - <a href="https://graph.facebook.com/98423808305" rel="nofollow">https://graph.facebook.com/98423808305</a>)

Hope that helps.

Recommend

  • XMPPConnection Error in android
  • iPhone - UIWebView multiple locks
  • How to Update model and database with code first approach in Asp.net MVC
  • Should I optimize around reads or CPU time in Google App Engine
  • How to get to older Xcode beta version?
  • Safari PHP form submission -file upload hangs
  • Create function that can pass a parameter without making a new component
  • can variables be set randomly when declaring them again?
  • Alamofire and Reachability.swift not working on xCode8-beta5
  • How can we prepend rows to a react native list-view?
  • Synchronize windows folders
  • Access user's phone number on iOS 7
  • netsh acl setting (need alternative method - registry settings?)
  • Servlet stops working on Tomcat server after some hits or time
  • how to set variables in a php include file?
  • Salesforce Different WSDL files and when to use
  • Sending keystrokes/mouse clicks to a Java program with Autohotkey
  • Silverlight DependencyProperty.SetCurrentValue Equivalent
  • rspec simple example getting error on request variable in integration test
  • Zurb Foundation _global.scss meta styles for js?
  • How to match http request and response using Jersey ContainerRequestFilter and ContainerResponseFilt
  • How to attach a node.js readable stream to a Sendgrid email?
  • Recording logins for password protected directories
  • Spring Data JPA custom method causing PropertyReferenceException
  • Different response to non-authenticated users and AJAX calls
  • Why ng-show works with ng-repeat but ng-if doesn't? [duplicate]
  • RectangularRangeIndicator format like triangular using dojo
  • Excel - Autoshape get it's name from cell (value)
  • Running a C# exe file
  • Join two tables and save into third-sql
  • Knitr HTML Loop - Some HTML output, some R output
  • How to apply VCL Styles to DLL-based forms in Inno Setup?
  • How to model a transition system with SPIN
  • Hazelcast - OperationTimeoutException
  • How to make Safari send if-modified-since header?
  • ORA-29908: missing primary invocation for ancillary operator
  • RestKit - RKRequestDelegate does not exist
  • Revoking OAuth Access Token Results in 404 Not Found
  • Exception on Android 4.0 `android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode)`
  • Converting MP3 duration time