I am trying to post to Facebook using Graph API and one of the parameters on that is link.
Example URL:
https://graph.facebook.com/me/feed?access_token=Xxxx&message=&link=http://something/token/123456B&description=test
Every time the link changes the posting fails the first time. If I retry twice or thrice the call works.
Here is the error I am getting :
{"error":{"message":"Call to a member function getImageInfo() on a non-object","type":"BadMethodCallException"}}
This used to work just fine but suddenly stopped working 2 days ago. The link always changes for us and such its breaking all the posts.
Did anything change with the API recently with Facebook ? Any help will be highly appreciated
well i fixed...i think... in the url link, the meta og:image it can't be empty as '' and the link must be absolute. if the link don't have an image, don't put the meta. by the way i update the app at the fb app panel to February 2013 Breaking Changes to activate.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With