Instagram media endpoint without authentication - https://www.instagram.com/${user}/media/ - unofficial? - instagram-api

Instagram introduced an obligatory authentication for their api https://api.instagram.com/v1/.
But it is still possible to get a public feed which is sufficient for my purpose https://www.instagram.com/${user}/media/ e.g.
https://www.instagram.com/instagram/media/.
I can't find this in the official documentation, though so that I'm hesitating to use it. Is this an unofficial api?
I found many sources using it and also many threads.Anyone found this in an instagram documentation?

Related

Is instagram users/self/media/recent API deprecating? [duplicate]

This question already exists:
Instagram/Facebook deprecating many APIs [duplicate]
Closed 4 years ago.
As a result of their Cambridge Analytica damage-limitation, Facebook have just announced a bunch of immediate changes to the Facebook APIs and the Instagram APIs.
I have a running project that makes heavy use of Instagram API users/self/media/recent
Reference Link: https://www.instagram.com/developer/changelog/
According to this reference url, api /users/{user-id}/media/recent is depriciating soon, So in my case I am also making use of /media/recent api but on {self} and not using {user-id}.
So my question to you guys is - Are both of these API's same and both are going to be discontinued? (I strongly hope thats not the case :) )
If yes, then what is the possible alternate to fetch instagram recent user feed?
Thanks in advance.
yes, you can get this data
check this link
https://www.instagram.com/selenagomez/?__a=1
just change your username and you will be able to fetch data
They are the same (when using 'self' obviously), it will be deprecated
sometime in the future but not just now, I just tested them and it
works
https://api.instagram.com/v1/users/self/media/recent?access_token=[YOUR_ACCESS_TOKEN]
This endpoint is now retired, so this response is no longer valid. Should I delete or just let this edit ?
This API endpoint like all old Instagram API will be deprecated. You can read the note here: https://www.instagram.com/developer/
They are migrating to Facebook Graph API. I believe that all developers using old Instagram API will have to migrate at some point to FB Graph API. Currently there is no support for fetching media from regular users. FB Graph API is running only for Instagram Business Accounts.
Most probably they will add support for regular Instagram accounts in the future. They are adding new endpoints so sooner or later equivalent to /users/self/media will be available in Graph API.

How do I fetch my own Instagram media feed

I have a use case that Instagram does not seem to acknowledge. I am hoping that someone else has an idea for what I can do.
The website that I am maintaining has been using the API endpoint:
https://www.instagram.com/anyUser/media/
And I am aware that Instagram has recently stopped supporting this endpoint. So I am looking for a replacement.
My use case is that I do not want to allow the users of my website to authenticate and browse their own photos. Instead I want to show only the latest 20 images that "I" (aka my employer) have posted, one at a time in a loop.
Instagram's API documentation seems to be entirely focused on the use case of allowing users to authenticate and share their photos.
Is there an API call that will return the last 20 images that I have posted?
From its specs, the Sandbox will work fine for me, I cannot find a way to register with Instagram that does not require me to build a user authentication work flow that will NEVER be used.
You would want to use self feed endpoint.
https://www.instagram.com/developer/endpoints/users/#get_users_self
https://api.instagram.com/v1/users/self/?access_token=ACCESS-TOKEN

API and Documentation

I just enrolled as a nest developer and have been reading through the API and Documentation. I have seen the endpoint's and process required to sign in, however I've been unable to find what end points are required to access data on the various devices? Most of the API and Documentation seems to focus on Firebase.
Searching for the answer shows a lot of older (2 years) projects that are probably out of date
The endpoint begins at https://developer-api.nest.com/
Data is accessed at a path after that url. So, if you just want devices, your endpoint is https://developer-api.nest.com/devices
Just thermostats? https://developer-api.nest.com/devices/thermostats
And so on. If you look at the reference api, you can see the paths

Like a page via foursquare API

Can't find an endpoint providing "Like a page" (not a page update) via the API. Any suggestions? Looking here https://developer.foursquare.com/docs/pages/pages
You won't find such an endpoint: "like a page" is explicitly intended to be done by users, never via an API. None of the major platforms that allow things like Likes provide API endpoints for that action (Facebook doesn't, Foursquare doesn't either) because they do not want developers gaming the system and inadvertently (or on purpose) performing those actions without user consent.
So no: you're probably never going to find an API endpoint for that.
Documentation for this endpoint is coming soon (we're in the process of auditing our API to document the new APIs introduced by #allnew4sq)
The endpoint is /pages/USER_ID/like and without any additional params probably does what you want it to do.

Is there a full list of the parameters supported by the Facebook search API?

There is a search API can be used by developers to conveniently query posts, people in Facebook. But is there a full list of the parameters supported by the Facebook search API?
Facebook official docs provide what you need .graph api reference page has nice table describing what are various fields that can be used to call graph api.
Few links to use graph API and its reference
https://developers.facebook.com/docs/graph-api/using-graph-api/
https://developers.facebook.com/docs/graph-api/reference/
Github gist of Facebook Cheatsheet
https://gist.github.com/stevedev/1097432
Ill assume you did not find/read their website on FQL, so Ill give you that address now.
https://developers.facebook.com/docs/reference/fql/

Resources