How to download stickers on Facebook API?

I have studied the Facebook API documentation and looked at other resources. It looks like the Facebook API doesn't provide a way to load stickers into a post flow. Is there a way to get stickers from Facebook streams?

If the developers don't have the ability to download stickers, then my question is, how can the Facebook messaging app do that?

+3


source to share


3 answers


As mentioned by WizKid (FB employee), there is no public API for fetching stickers. Facebook messenger app uses internal API.



+3


source


In Facebook posts, the sticker can be found at {message-id}/shares/link

.

Link to API link:



https://developers.facebook.com/docs/graph-api/reference/v2.10/message/shares

+1


source


Stickers can now be pulled through the "attachment" field in the comment:

https://developers.facebook.com/docs/graph-api/reference/v2.8/comment

The graph will include an attachment.url file that can be used as an image source.

0


source







All Articles