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.