Can I send Instagram Direct messages programmatically through the API? Is there a limit? - api

I want to build an Instagram Hashtag Gallery (an image/video gallery that will scrape the image/video media of all public instagrams with a specific hashtag)- that part is easy enough and very common. However, given the uncertainties involved in receiving ALL messages when searching for a hashtag, I also want to send a confirmation message to users after their submission has been received. The best way would seem to be through an Instagram Direct private message. I cannot find anything about whether this is possible and if there are limits to the number of Instagram Direct messages my app can send.
Is this possible?

As far as I can tell, it's not possible.
With the Instagram API console, you can check for the supported methods: API Console

Sure it is, you just need to use the instagram private API.

Related

Query discord api from webiste

Is there a way to query the discord API without have a bot on a server.
I would like to retrieve my friends and my profile images and put it on a website I created.
I've done some research and only found stuff for discord bots.
Is what I want even possible ?
Yes, this is possible.
Take a look at this API route. You can just make a request there with the user id and get the whole user object.
If you need more information on the API itself and how to use it check out the Discord API Reference

Is there a way to use WhatsApp API with third party apps?

I am new to using WhatsApp API. I am not sure but it seems that the api is for business users only. I want to use the api to send messages to users automatically based on a change in an app, (say PowerBI). I want to send updates regarding a report whenever a change is made and send it through whatsapp instead of email.
Yes, WhatsApp API is for business users. But, if you still looking for a WhatsApp bot I recommend Twilio, there are a lot of content about it in the internet. Check out this video, It's using python and really easy.

API to check Periscope User is Online

I've scoured for any information regarding an Open API for Periscope.
I have a twitter feed, that should only show if Periscope is Live (the said user will share the broadcast via Twitter).
I can parse the word "IS LIVE" but then I'd have to parse multiple languages.
I'm looking to check an API if the user is Online in periscope, if so, then display the latest twitter feed (which is the broadcast).
There was this User Online button that could be generated
https://www.periscope.tv/embed
it calls an api like https://embed.periscope.tv/user/bpsdmik.json
but it seems that the certificate is invalid, so I keep getting errors ..
Any help / workarounds would be much appreciated!
I've Searched OPEN Periscope, but mostly requires an Authentication token etc.
There is no open API for Periscope. At least, not that I'm aware of. Which would explain your difficulty in finding anything. The closest thing would be the Unofficial Periscope API, documented by Pmmlabs (the same folks who run the OpenPeriscope project). However, as you've already discovered, most of the calls to the Periscope API, including all user-related calls, require an auth token.
Outside of using the API or screen scraping, the only other way I can think of to tell if a user is live or not is to try accessing their Periscope page directly. When you go to a user's Periscope page at https://www.pscp.tv/{userId}, Periscope will redirect you to that users most recent broadcast, where you can parse the broadcast id from the redirect URL. Once you have the broadcast id of the most recent broadcast, you can use the following API call (which does not require an auth token):
https://api.periscope.tv/api/v2/getAccessPublic?token={broadcastId}
... to determine whether the broadcast is live or not. Look at the JSON response and if the "type" field equals "StreamTypeReplay", then it's a replay, otherwise it's a live broadcast.

How to get Page Notifications through Google+ API

Is there a way to get a list of all Private/Public Page notifications through the Google+ API?
for example, the notifications that you see on this page from your browser: https://plus.google.com/u/0/b/{YOUR_PAGE_ID_HERE}/notifications/all
I can only see the ability to get Public activities through the API.
No, this is not currently available. See (and star) https://code.google.com/p/google-plus-platform/issues/detail?id=96 to register your support for such a feature.

How publish Hootsuite on Google+ Pages stream?

I want to achieve the same as Hootsuite, publish a post in a PAGE STREAM. But I don't know even where to look for it. It looks like Hootsuite is using the API, because they prompt an open Auth authentication where the user selects and authorize what this APP can do with his data.
With the PHP client I've been able of posting in the user APP stream (different from the user main stream) using moments class, and get data from the user using plus class client, both from the PHP library available here: https://code.google.com/p/google-api-php-client/source/checkout
But I don't know how to write in a user's page. Does anyone knows or can point me where to go to, at least, publish on main Google+ page stream as Hootsuite? Thanks.
The Google+ Pages API is currently available to a limited number of parters only, including HootSuite. You can request access to the API at https://developers.google.com/+/api/pages-signup but there is no guarantee when, or even if, Google will approve your access.
Although you can use the HootSuite console to post messages to Google+ pages (see http://hootsuite.com/google+), it isn't clear if you can use the HootSuite API to do so.