How to get normal images from Facebook Graph api? - facebook-graph-api

Currently I am using Facebook Graph api to get feeds from Facebook, but past 1 month onwards I am getting smaller images instead of normal images and used _n,_l and _b in my URL but all these are not working.

Related

How can we get the thumbnail image of the feed of the Instagram using the Facebook graph API?

I am getting the feed of Instagram using the Facebook Graph API in PHP. But I am can not get the thumbnail of the image. But I have received the full image of the feed.
I am using the below API to get the feed.
https://graph.facebook.com/5.0/INSTA_ACCOUNT_ID?fields=biography,followers_count,name,profile_picture_url,username,tags,ig_id,id,media_count,website,follows_count,media{comments_count,caption,id,ig_id,is_comment_enabled,like_count,media_type,media_url,permalink,owner,shortcode,thumbnail_url,timestamp,username,children{caption,comments_count,ig_id,id,is_comment_enabled,like_count,media_type,media_url,owner,shortcode,thumbnail_url,timestamp,children{ig_id,is_comment_enabled,comments_count,caption,id,like_count,media_type,media_url,owner,permalink,shortcode,thumbnail_url,timestamp,username}},comments{hidden,id,like_count,media,text,timestamp,user,username}}&access_token=ACCESS_TOKEN
I have also noticed one thing that I have fetched "thumbnail_url" only for the video type of post.
I have also checked the media related API.
https://graph.facebook.com/POST_ID?fields=caption,id,media_url,media_type,permalink,thumbnail_url,timestamp,username,children{media_url}&access_token=ACCESS_TOKEN
But I have not received the thumbnail URL of the image from above API.
Thank You.

Get most recent image for my own user through facebook/instagram api?

On my webpage I want to always display my latest instagram post.
I don't want to have the instagram embedded default styling. I just want the image.
Before you could get the most recent image like this:
https://api.instagram.com/v1/users/self/media/recent/?access_token=${instagramAccessToken}&count=1
But this way of doing it will be deprecated early 2020.
I know there is a way by using an acccess token, but this has 2 hour timeout. This means that I will have to ask the user to login to facebook / instagram to get an access token. Which is something I don't want.
Is there a way to get latest instagram image without having to log in?

Embedded Facebook feed on website not possible after Graph Api 2.5?

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

graph api to fetch the coordinates of all the tagged photos

I have just started working of facebook graph api v2.1.I know how to get all the tagged photos of a user or myself .I want to know how to fetch the coordinates of tags from all the photos that I am tagged in

How to assign a past date while uploading a photo via Facebook Graph API, so that it gets placed at the right point in Timeline?

Using the Facebook Graph API, I have been able to upload a photo. It is an old scanned photo. I would now like to modify the timestamp, so that it is shown at the appropriate point in the timeline. Does the API provide a way to do this?
Here is an article that says we can assign past dates to Facebook Timeline Posts - http://www.allfacebook.com/facebook-timeline-timestamp-2011-10 . I want to assign a past date to a photo I uploaded, and I would like to do it via the Graph API. Any leads would be helpful.