0

I've created a chatbot on FB Messenger. At some point, the bot responds with e.g. some image. Below the image, I've managed to create a button so the user can 'share' the image to his/her FB Messenger friends.

Is there a way to create a button so the user can post this image to his timeline?

I can't find something on FB documentation

Stergios
  • 3,126
  • 6
  • 33
  • 55

1 Answers1

1

As mentioned in this blog post, use this template for the url:

https://www.facebook.com/dialog/feed?app_id=<APP_ID>&link=<ENCODED-URL-TO SHARE>&picture=<IMAGE_URL>&name=<TITLE>&caption=<CAPTION>&description=<DESCRIPTION>&redirect_uri=<REDIRECT URI>
atimothee
  • 658
  • 4
  • 11