I have studied Facebook API documentation and looked up other resources. It seems Facebook API does not provide a way to download stickers in a message thread. Is there any way I can retrieve stickers from Facebook threads?
If there is no way of downloading stickers available to developers, then my question is how is the Facebook messenger app able to do it?
As mentioned by WizKid (a FB employee) there is no public API available for getting stickers. The Facebook messenger app uses an internal API.
In Facebook messages, sticker link can be found in {message-id}/shares/link.
Link to API reference:
https://developers.facebook.com/docs/graph-api/reference/v2.10/message/shares
Stickers can now be pulled through the "attachment" field on a comment:
https://developers.facebook.com/docs/graph-api/reference/v2.8/comment
The graph will include attachment.url which can be used as an image source.
Related
Following are my requirements
created space in website that user can come and sign up with FB or Instagram to integrate their account
Through Graph API for FB and API for Instagram, I can able to view and post the images to FB (post is not possible to instagram)
My requirement would be any activities (like and share ) happened at the FB or Instagram page should receives as notification to my website
I came to know there is no direct APIs available to achieving notifications but I have seen them in "Social Stream" app.
any help would be appreciated on how could achieve this functionality
TIA
You can get likes, comments and posts using API. You can poll them at regular interval, compare new data and create your own notifications.
(You have to get your app approved by Instagram to get API permissions, which may be possible for your usecase, if you do get approval, then its possible to achieve what you are trying to do.)
I am currently working under a facebook javascript sdk.
but i am limit => Fixed frame (shape, position)
Javascript sdk, as html or other method I want to create a facebook feed system.
Thank you tell us how or related links.
for example
Except facebook api that provides access to feeds from Facebook and the Facebook system Is there a way to raise the feed in the form of message I want?
Here is a link on Facebook Controlling What You See in News Feed providing information about that how to change feed. Follow the link and design customize feed.
Built to the conclusion that there is no way except the Facebook api.
How to post in facebook fanpage automatically from my website ?
for example when i update new post in my website and i need to post in facebook fan page automatically....
I believe Facebook offers a certain number of APIs which would allow you to integrate Facebook into your own website to some degree; you can always try their dev centre.As far as I know, however, you can only post to Facebook through social networks like Twitter (see: linking a Twitter account to Facebook), or through Facebook apps you've developed yourself.
You need to create facebook app and use the app secret key and and API key in facebook SDK
script for automatic posting. for more details click the following link. I think this may help you. http://www.damnsemicolon.com/php/auto-post-facebook-with-facebook-sdk
I have web portal. I need to somehow get all Facebook wall posts from just one specific user or group( that represents my web portal). I need to have wall posts available on my web portal for further processing.
I will be also needing an option for posting messages from web portal to FB user/group wall.
I haven`t worked with FB API until now, so any materials, tutorials that can lead me in right direction would be of great help.
Can this be done without creating Facebook application?
Thank you
No,
Facebook just like that does not share its user information.
you will have to create an app on facebook to authorize urself,and on your web portal you will have to sek users permission before getting any user info.
craete facebook app here https://developers.facebook.com/apps
You can choose between javascript sdk and graph api on how you want to get user data.
You can use publish_stream permisiion to get the post on user wall.
Can this be done without creating Facebook application?
NO
Tutorials and materials:
Graph API
Samples & How-Tos
Google, but I would be careful here. Try to search for updated tutorials (written or updated on 2011)
I used this http://neosmart.de/social-media/facebook-wall its fb.wall plugin into jQuery .js library. It easy and can be edited symply via CSS
Can I upload photos using Facebook API but not post to wall in Facebook?
What I use is the photos.upload in the API.
If it cannot be avoided, is there any way to delete that wall post so that I don't have to do it manually?
Documentation of graph API (http://developers.facebook.com/docs/reference/api/photo/) mentions the following:
If you would like to suppress the
story that is automatically generated
in the user's feed when you publish a
photo (usually because you plan on
generating your own), you can add a
no_story=1 parameter. In this case,
the user will receive a notification
that your application has uploaded a
photo.
Adding the same parameter to the legacy REST API seems to work for me
Let me answer my own question:
It's about the permission problem. We can set the permission so that the photos do not publish to wall.