Can we use Instagram API for Local Development - instagram

I am learning React Native by creating a clone of Instagram (Strictly Local Development). I want to use the Instagram API to get some real time data for my app. I tried registering as Instagram Developer but its asking me for the website and policy page of the website, which I don't have. Is it possible to use Instagram API for learning purpose, if so can you give me the steps for ding it??

Yes, you can. I think you're already in the right way. All you need to do is just integrate things up and follow all the steps in the Instagram Developer website.
You are not required to have policy page or anything to use the sandbox, but you will need it later on if you want to use the API in the production state of your app.
You will need to create an app in the developer site, and generate your access token. Then, add a sandbox user (your Instagram account) and start to use the User Endpoint to retrieve your user data (such as your bio, follower count, etc.) and media (this is what you want, your Instagram post feed).
Hope this helps.

Related

How to access Instagram Basic Display API without user login?

I am developing a website which would facilitate an end user to see an Instagram user's media such as Profile Pictures, Posts and Stories with the Instagram Basic Display API.
As per the documentation of the API, an Authorization Window needs to be implemented to get Authorization Codes and permissions from app users. Authorization Codes need to be exchanged for Instagram User Access Tokens, which must be included when querying an app user's profile or their media.
Bu there are numerous services which are able to show an Instagram user's media without having to implement the complex pipeline above:
InstaDP
FullInstaDP
InstaFinsta
IZoomYou
InstaDownloader
So, how are these services even able to bypass the Authorization Window and provide a seamless user experience without the end user's login? Especially how is InstaDP able to display reels and InstaDP which are not even support yet in the API?
It's way more sophisticated & costly than official Basic Display API. They are using Instagram private APIs. They use multiple accounts (by its cookies) to fetch those data from Instagram, e.g. for fetching user info, they call endpoints like https://www.instagram.com/washingtonpost/?__a=1. You can open your browser's developer tools to see the endpoints Instagram calls to fetch the details.
By sophistication, I meant
The services that you have mentioned need to emulate human behavior while scraping data from Instagram otherwise Instagram would block those "fake accounts" and it's extremely hard to create accounts in Instagram via automation, you cannot create bulk accounts.
They use residential proxies, and they pay for it.
If you do not want to go all those hassles, you can buy Instagram private APIs but it's not cheap.
Here are some open source projects that might interest you
https://github.com/dilame/instagram-private-api
https://github.com/jlobos/instagram-web-api
https://github.com/ping/instagram_private_api

How to access MY Instagram from API (see hashtag 'ed media)

I am trying to collect all media that use a specific hashtag from Instagram to run a hashtag contest for an event.
I have tried the Instagram API and I can collect the media through it, while in sandbox mode, but only the public ones. I want to be able to collect also those belonging to PRIVATE users that I already follow.
If my application passes the review process, will I be able to see the media that people I follow have posted? (like on the official Instagram APP?) Has the review process indeed paused due to the latest news?
Is there any 3rd party APP that has already been reviewed or any other solution that allows me to access the private data?
I just want to check for media that use a specific hashtag every 15-60 seconds and save them to a database based on submission time.
Edit: Another option would be to publish a minimal application that only reads the users' self media. This way everyone who participates would need to provide access to my Application and then I would be able to verify if they have posted using the hashtag.
My main concerns are:
Are applications requiring only the basic scope reviewed?
Can an application like this pass review? In the API terms it states they do not accept apps for one-off projects (like a campaign)*
Instagram is not accepting any new apps that use the public_content permission for review. So you won't be able to get your app out of Sandbox mode if you are using that permission. There are a few 3rd party apps that have been granted permission for that, but even they will stop working when the public_content permission is deprecated in December 2018.
As per https://instagram.com/developer and https://www.instagram.com/developer/changelog
Another option would be to use something like the hashtag campaign feature from SnapWidget that could be used to create a contest.

Connect Google calendar api and api.ai

So here is what i am trying to do :
I built a bot with api.ai for my business that is hosted on my webpage and my Facebook page right now. Bot works well.
I want to push it to the next step by allowing my customers to make querys on my calendar, ask to book a specific time, see if available, if not offer other time similar, then make a booking.
I have been reading this thread and the great answer attached to it but i think my case is a bit different.
I was wondering if the bot could always have a token so every guests won't have to Auth to query the calendar ?
Obviously i am new to this, i have been reading the guide of google calendar api and api.ai but i don't really see how to do that yet. I guess there is a way to store a token somewhere and then just trigger the query with some specific intents but not to sure how.
I have also done the node.js quickstart guide of the G-calendar api, and it works fine if that helps.
Thanks for your help !
You will probably want to use a Service Account that is permitted to the calendar in question. Service Accounts are similar to regular accounts, but they are expected to do server-to-server communication only, so the method to create an auth token is a little different to keep it secure.
See https://developers.google.com/identity/protocols/OAuth2ServiceAccount for more information about using Service Accounts.
In general, you'll be using a shared secret to create and sign a JSON Web Token (JWT) you send to Google's servers. You'll get back an access token which you'll then use to call the Calendar API. The access token expires in about an hour, at which point you'll need to repeat the process.
There are libraries available to do much of this for you. For example, if you're using the node.js library https://github.com/google/google-api-nodejs-client, then it will take care of this for you (although you need to modify the key file - see the documentation for details).

Instagram API review submission - complete app needed?

I just noticed that new Instagram API's sandbox has too many restrictions and I would need to submit review to build my app. I googled to see if there's a way around but looks like using their API would be better than anything.
The app I was going to build requires all the API endpoints that Instagram doesn't allow Sandbox users to access (such as hashtag search and get recent tags). Do I just build one assuming I can get responses from the endpoints? I am pretty confused. Anything would help. Thanks!
You think you have two options:
Since, instagram allows you get the contents from the user's in the sandbox mode.
Create an App using link and submit for review to get experience with public data available in instagram.

How to develop using Instagram API without smartphones

I want to develop an application which would query to instagram API. For this purpose I intend to create an instagram application (for my test environment). The only problem is that I do not have a smartphone. Is it possible to create an instagram app and generate some data for testing purpose without having a smartphone?
I have asked somebody to give me a user. With that user I have logged in and created the instagram application. Then I could connect to it and use it.

Resources