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?
Related
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
I am currently attempting to retrieve the news feed from my Instagram home feed to include into an app. Is there any way to use their API to get this info?
There isn't any public api that you can register and send requests to, but there are some reverse-engineered solutions.
Here's a library for php that claims to cover almost all features:
https://github.com/mgp25/Instagram-API
There are many answers here based on this method to convert big id to the short code. However, the big id (like 2017748900654405613_12103976679) is not included in a photo link.
How can I get the media link
https://www.instagram.com/p/BwBRj3jgsi8/
FROM the photo link
https://scontent-lhr3-1.cdninstagram.com/vp/f97884ced334a94f17080e60a5f99f16/5D2D32E1/t51.2885-15/e35/s1080x1080/56563284_333674164009004_273410740597618711_n.jpg?_nc_ht=scontent-lhr3-1.cdninstagram.com
Unfortunately you can't go from the CDN photo link back to the media link.
When an image is uploaded to the instagram CDN, it's assigned a unique ID. The media link is a "post", hence the /p/. The post is assigned its own unique ID upon creation, and the linking of the CDN URL as well as other stuff like the user id is stored on Instagram's backend.
These unique IDs aren't related, so you can't use a CDN to get the ID of the post. Sorry!
I have a website that the gallery part uses photos that are stored on Google Photos.
I'm trying to migrate a connection to the Picasa API (now completely depreciated) to Google Photos API. However all suggestions point to the visitor to authenticate themselves and exchange code for a token, however I'm looking for a simpler method that skips this for public shared photos and users without a Google account. Any suggestions?
PS: I'm using C# WebForms, but an API that returns a JSON would be great.
In Flickr, in your home page you can see all the photos from the users you are following. How can I get this data using the Flickr API? I couldn't find a proper method to do this.
You can use flickr.contacts.getList to get a list of a user's contacts, which is more or less the list of people that the user is following.