skip to Main Content

I could set custom picture and caption for link. Now it is impossible for v2.9. Is there some kind of workaround without specifying og: tags.

When using Facebook Graph v2.8, you could post a link and display a custom image and not the “og:image”.
This was done by adding the picture parameter to the hook.

https://graph.facebook.com/v2.9/me/feed?link=https%3A%2F%2Fwww.google.com%2F&picture=https%3A%2F%2Fi.ytimg.com%2Fvi%2FtntOCGkgt98%2Fmaxresdefault.jpg&name=test&message=this%20is%20a%20test&access_token=**********

The graph API is at 2.9 and as per the documentations this is still supposed to work Facebook API doc

However, it keeps getting overridden by the scraped image. Is anyone else experiencing this problem or have a workaround.? Facebook API Explorer

2

Answers


  1. Chosen as BEST ANSWER

    picture, name, caption, thumbnail, description are all set to be deprecated.

    https://developers.facebook.com/docs/apps/changelog#v2_9_90_day_deprecations


  2. You can go ahead and use Open Graph for posting images with custom description and title.

    You can get an insight of the same from this link -> https://developers.facebook.com/docs/sharing/webmasters?hc_location=ufi

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search