Reputation: 379
Ok so I want to create a Facebook quiz app where the user are shown some results like
john is your best friend!
I have generated an image of the result and want to share the image along with the link of the quiz page. After a bit of search I found out that FB.ui
with method: "feed"
can be used for this, but it looks like the API have changed a little and now the image share doesn't work like it used to. If I include link: "somelink"
then it pulls the images and description from the somelink
instead of using the image mentioned in picture: "someimage",
.
So how would I go about implementing this type of share now? Any help would be appreciated.
Upvotes: 0
Views: 205
Reputation: 74014
The only way I can think of is to generate a separate (random) Perma-URL for the result, including the image as og:image tag.
The feed dialog had some parameters for those things ("caption", for example), but they are all deprecated too: https://developers.facebook.com/docs/sharing/reference/feed-dialog/
Upvotes: 1