arsduo / koala

A lightweight Facebook library supporting the Graph, Marketing, and Atlas APIs, realtime updates, test users, and OAuth.
http://developers.facebook.com/
MIT License
3.56k stars 466 forks source link

link deprecated fields in v2.9 #609

Open TheStu opened 7 years ago

TheStu commented 7 years ago

Spent the last 3 hours trying to figure out what I was doing wrong, but it looks like the 4 fields associated with a link (caption, description, picture, name) have all been deprecated as of API v2.9. It looks like a v2.9 access token or config.api_version = "v2.9" both cause the 4 fields to be stripped out, and the post goes through successfully, no error or warning. Only place I could find it mentioned is here: https://developers.facebook.com/docs/graph-api/reference/v2.9/user/feed near the bottom. Fields will be deprecated for all API versions on July 17th.

arsduo commented 7 years ago

Thanks! That's good to know. I'll rewrite that documentation. Were you able to figure out alternatives, by any chance?

TheStu commented 7 years ago

Not really unfortunately. The workaround that I came up with was tweaking the title and meta description of the page being linked to, so that the data Facebook pulled from the page was more or less what I wanted it to be, but it's still a poor substitute.

josealbertohm commented 7 years ago

Hello! Maybe this is not the way to ask this, but I would like to know how I can to specify the Facebook API versión to be used in my ruby project. I've found some old documentation but in the Koala version 3.0.0 I don't know where or how I can set this to use the Facebook API version 2.9

pawandubey commented 7 years ago

@josealbertohm I hope you resolved it but you can see the example of setting the api version per request or globally in the README: https://github.com/arsduo/koala#graph-api

johansmitsnl commented 7 years ago

How can this be solved to set a different image on the post?