Google account image from email - gravatar

Is it possible to retrieve a Google account profile image like a Gravatar image?
I'm thinking it would be very handy to make a failover to Google image, if a gravatar is not found.

If you're able to get the Google user_id, you can retrieve the Google+ image.
Unfortunately, there doesn't appear to be an easy way to get the user_id from an email address.

Related

Is there any way to filter instagram new basic display api by hashtag

I want to get latest images from instagram account and I am using this url
https://graph.instagram.com/me/media/?fields=id,media_type,media_url,thumbnail_url,permalink,caption&access_token={account-token} and it get all posts in my instgram account.
Is there any way to get only posts with specific hashtag?
Not right now, Hashtag Search API is only available as part of Instagram Graph API
https://developers.facebook.com/docs/instagram-api/reference/ig-hashtag-search/

Using Instagram Graph API to pull information on creators/public account

I'm a little bit confused about how to use the Instagram Graph API. Do I need a business/creator account as well as register my app to be approved by Facebook to use the API itself? Any other requirements? My goal for the app is to be able to enter in someone's Instagram handle and able to get back some information such as name, id, profile picture, followers, as well as metrics such as engagement rate and average likes. Is that possible without needing to be approved to use it by Facebook? Is there an easy way to get that information?

How to get mediaItemId of a Google photo using its shared URL?

I'm using Google Photo APIs to download a list of photos which have been shared. For example:
https://photos.app.goo.gl/MNZQw1AJg2VaNM1K7
But I don't know if it is possible to obtain the mediaItemId from this kind of URL?

How to get instagram id from update 29/6/2020

I am building instagram in wordpress using the "elementor" plugin.
In the old version I used the => https://api.instagram.com/v1/users/[my-id]/media/recent/?access_token=[my-token]
Path to retrieve my instagram info data
Through the "29/6/2020" version the old link was no longer available. The algorithm changed that I was unable to retrieve my instagram data that way.
You can show me a new link or a new way for me to get my instagram data (photos, links, likes, comments) on my instagram.
Thank you very much
Best regards
Now you need to connect your instagram account with your facebook account. After of that you can access such things in new way as described at https://developers.facebook.com/docs/instagram-api/reference/user/media#get-media here. Also you need instagram account as Business account.
If you wish to fetch media from your personal account for your website you don't need to work with the graph API and Facebook login part, simply use the INSTAGRAM BASIC DISPLAY API and get your details and media.
Refer this link:
https://developers.facebook.com/docs/instagram-basic-display-api

Is there any way to get images from an instagram account since the new changes of the API (April 4th, 2018)?

Instagram API removed the following endpoint:
GET /users/search
which I was using to get images from my profile on my website.
Is there any way to do this now? I can't find any info since this is very new.
You can get at least the newest 12 pictures from a public account by using this URL scheme:
https://www.instagram.com/[name_of_account]/?__a=1
You can parse the Json output and find the image-URL in display_url
This also works with hashtags and locations:
https://www.instagram.com/explore/tags/hawaii/?__a=1
you can show your own media,
https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN
just enter access token an you will be able to get your media data
I do not see any way via either the old Instagram API or via the new Facebook graph API for Instagram Business Accounts to get profile images for accounts that are not yours. If it is an Instagram Business Account, you could get the Facebook profile image from the Facebook page associated with that Instagram account; but if it is a non-business Instagram account, that won't work. More documentation here: https://developers.facebook.com/docs/instagram-api/overview

Resources