BigFab
BigFab

Reputation: 56

Facebook API - How to post a website link with a custom image?

My goal is to post to my FB page (/{page-id}/feed) a link to a website, choosing the image to show instead of the picture scraped automatically from the web page. The image I'd like to show is not in the web page, so I cannot use the og:image tag.

I'm using the current API (v2.9) and this is what I've tried so far in the Graph API Explorer:

What am I missing?

Upvotes: 3

Views: 3728

Answers (1)

Alex Prachuablarb
Alex Prachuablarb

Reputation: 180

For information regarding why it isn't working. I assume they removed it to force users to add it to their website like Twitter did with their Twitter cards and maybe to stop impersonating pages.

https://developers.facebook.com/docs/sharing/reference/feed-dialog#deprecated-params

Upvotes: 4

Related Questions