Send Direct Message Using Instagram Official API - instagram

I have been working with Facebook API and there documentation is awesome. Now i need to use the Instagram API and there documentation is not developer friendly, I want to use the Direct message functionality using Instagram API and i am unable to find that how to do it? as i can't see it in there documentation and I have been doing research for hours but unable to find any best possible resource.
I don't even know that are they providing the "Direct message" functionality or not? After my all research i have come to know about "Instagram Private API" which provides direct messaging functionality but i don't know that are they officially using there API's for messaging. I am sure they are using a Hack for that but i don't know that for how much time hack lasts long.
Any One who can guide me would be great.
I appreciate for your time and consideration.
Please do let me know about your concerns on this.
Thanks in advance!

A Bit Late To Answer (Aug, 2022)
I have successfully cracked it by myself, after doing a lot of research on google over this topic. You can use the mentioned deep link to open Instagram Direct with some text to share from your application,
instagram://sharesheet?text={AnyTextOrLinkToShare}
Moreover, the below code should work on iOS to launch Instagram Direct (Messenger) from your app with some content
if let url = URL(string: "instagram://sharesheet?text=https://google.com/") {
UIApplication.shared.open(url, options: [:], completionHandler: nil)
}
Not sure, why did they hide this information from their official documentation but now who cares, I have achieved it with the continuous efforts of 16-18 hrs! :)

Related

Is there a way in Instagram's API to get the URL to a new post from a specific user? I'd like to integrate it with a Reddit bot

The Owl City subreddit (/r/OWLCITY) is running into a unique problem: Whenever Adam Young posts something new to Instagram (#owlcityofficial), there's an influx of new Reddit posts saying that Adam posted something new. I suggested (and if I can get it off the ground, hope to do so with the approval of the subreddit's moderators) to create a bot that automatically creates a new post whenever Adam posts something to Instagram, as a sort of "master thread." All discussion about the post could be had there, with all others being subject to deletion.
This appears to be easier said than done. Looking briefly at Reddit's API's this appears to be possible. But on Instagram's end, that's another story. It appears Instagram deprecated and shut down their first API last year, and I can't find any information on whether the two APIs still available support something like this. I would prefer to use the Display API, as I doubt I qualify to use the Graph API. Furthermore, I can't find any useful information on the Instagram API. Also, almost any search for what I'm trying to do shows a plethora of results of how to do it with the OLD API, and limiting the results to the last year doesn't bring up anything useful.
Is there a way to do what I want to do? Keep in mind I'm relatively new to programming, so any help with this would be appreciated. Thank you in advance!
Maybe use Python with Selenium to get the Channel Page and get the first entry. Compare it with and if it is newer, scrape it. No API needed, if you not want to dig to deep into API references.
Try search for Instagram Basic Display API.
Please specify what kind of programming Language you have experience.

How to access Google Classroom without API?

I'd like to automatize some processes that are not yet available through API(Google Classroom), like posting comments on announcements, seeing private comments on my work and so on. I have trouble accessing my account. I'd like the app to be able to run on a server. I'm currently working with node.js, but if there is an easier approach I'll gladly accept it (free if it's possible). Can you give me an example of how it's done because currently, I am struggling to find every button that needs to be clicked on?
Unfortunately, there are no methods right now to accomplish that. You can leave a feature request on Google Issue Tracker describing what methods you would like to use. Google engineers will study your case and, if applicable, they will develop the requested methods.
You could use something like Selenium with your language of choice (Javascript in this case) to automate the browser clicks.
This is however, not the best of ideas... To make Selenium log into your account you will need to hardcode your password somewhere.
Google services use Oauth for authentication, take a look at the Classroom API Getting-started for instructions on how to work with Google Classroom API.

Integration : Chrome web store and slack

I was searching for a way to get some information from chrome webstore (I have couple of extensions there) specifically feedbacks from users and user count. And I would like to do something with that data.
I searched about chrome web store API
but couldn't find anything.
found launchkit which does same thing, but for appStore
I am thinking there is no straight way to do it, but if anyone has done it or got some idea about it please share it along,
Thanks in advance
A simple google tells me there are already some possible helpful answers:
Get user feedbacks
How to get user feedback/bug reports on a Chrome Extension through itself?
Get user count
API call for user count in Chrome Web Store?
The closest I can find out is chromebeat and my extensions I would have to figure out how this works without an existing API and write my own after that I guess.

How to like/follow on Instagram without using their API

Recently Instagram changed their API's policy, which means you can no longer like/follow/unfollow using their API unless you are approved by Instagram to do so.
I own the website http://instapromobiz.com which uses JavaScript and PhP to automate likes/follows/unfollows using Instagram's API. This was doing great until Instagram made this update and I can no longer perform these actions.
My question is, is there any way to perform these actions without using Instagram's API? Sites like http://instagress.com are still working so there must be another way to perform these actions without using their API.
Does anybody have any suggestions that might point me in the right direction? Thanks in advance.
You should submit your app for review. They usually answer quickly.
Go to Manage Clients (https://www.instagram.com/developer/clients/manage/), then click on Edit button of your App. Your submission can be made over Permissions tab.
But, unfortunatelly, it's probably Instagram won't authorize an app that do like/ follow automatically. They want to ensure an authentic and consistent experience for the Instagram Community, so those actions should be manual. Good luck.

Any libraries that can make accessing Google APIs as a service account simpler for NodeJS?

Background: My idea is to create a primarily content-heavy website (think news articles or blog posts) written entirely in nodejs. Since creating content on Google Drive (Google Docs) in particular is very simple, what I would like to do is have Nodejs retrieve the website's content from Google Docs.
Challenge: As far as I can tell, the correct way to do this according to Google is to create a Service Account so that the application can access the files stored on Google Drive without requiring user-intervention in the form of a confirmation. Google provides three libraries--java, python, and php--for server-to-server requests. Does anyone know of anything similar already written by the Node community? I am aware of node-oauth but I've searched through it's source and haven't found anything referencing private keys, which are required for server-to-server interaction, which I'm taking to mean it's not supported. Writing one is also an option, but I'd like to avoid that if at all possible. Looking at the Google-written Java Oauth2 client library makes it pretty clear that it's not an easy task.
Thanks in advance!
This is one library I've found that looks pretty thorough and complete for creating JSON Web Tokens: JWCrypto
I know this thread is old, but in the event others arrive here looking for an answer:
Google is working on an official module to access all of their API's. Its alpha so be careful but it looks very nice- github repository

Resources