i am using facebook graph api for getting the posts of a page.
In that i have the following for one of the posts:
"picture": "fbstaging://graph.facebook.com/staging_resources/MDExMDE1NDIxMjc1MTM3NzU1NjoxNTkyMDk5MzA4
How can i get the image from the above link.
Related
I am trying to programmatically create user posts to my Facebook feed with the Facebook Graph API, How can I go about it pls. I have seen the procedure to create a post on a Facebook page but not on a user feed. Pls, help!!!
I'm making an android app that fetches the intagram post details from the post's share url.
For eg. for getting this https://www.instagram.com/p/Bjzikp0nQG0 post details I'm using Instagram api https://api.instagram.com/oembed/?url=https://www.instagram.com/p/Bjzikp0nQG0 to get the post details.
But if the post is video I'm only getting thumbnail. I searched a bit and found instagram deprecated the media endpoint. So I found instagram graph api's media endpoint https://developers.facebook.com/docs/instagram-api/reference/media/#metadata can be used to get the information.
But the final problem is this above graph api require a numeric id of the post to get the details and nowhere in the documentation mentioned how to convert instagram post's share link to post id.
When I load my web page, I am logging an app view event using the Facebook SDK as such:
window.FB.AppEvents.logPageView()
If I have the URL of the page from which I logged that page view. How do I programmatically get the page view count for that particular URL/page? Is there a Graph API request I can make or maybe some method on the Facebook Web SDK I can use to get such data?
There's no Graph API to retrieve this data, you can use the Facebook Analytics UI at facebook.com/analytics
I've been coding a website using and modifying Bootstrap template. End of summer I left the site as it was, but once returning there recently I noticed the Facebook activity feed (newests posts and such) had dissappeared from my front page. Reading from Facebook Developers; after the release of Graph Api 2.5 adding Facebook feed on your website is no longer possible? Is there any other way to get the Facebook feed back on the site? I had been using iframe on my site while it was still working.
There are two main steps involved in embedding Facebook page feed in your website- 1. Getting Facebook Access Token, 2. Calling the Graph API passing the access token.
1. Getting the access token - Here is the step by step process to get the access token for your Facebook page. - Embed Facebook page feed on my website. As per this you need to create an app in Facebook developers page which would give you an App Id and an App Secret. Use these two and get the Access Token.
2. Calling the Graph API - This would be pretty simple once you get the access token. You just need to form a URL to Graph API with all the fields/properties you want to retrieve and make a GET request to this URL. Here is one example on how to do it in asp.net MVC. Embedding facebook feeds using asp.net mvc. This should be pretty similar in any other technology as it would be just a HTTP GET request.
Sample FQL Query: https://graph.facebook.com/FBPageName/posts?fields=full_picture,picture,link,message,created_time&limit=5&access_token=YOUR_ACCESS_TOKEN_HERE
The Facebook insights dashboard has a grid that shows all recent posts along with reach/engagement/virality metrics. How can one pull this type of post data from Facebook's graph API or FQL?