I am an Instapaper user and am just trying to write a script that fetches my "liked"-folders RSS-Feed, takes the link of the webpage and flattrs it.
So far, I am stuck at "committing" the flattr - is there any API, etc. for that task or must a flattr always be done 'by hand'?
Thanks,
Christian
There is an API which is documented at http://developers.flattr.net/. You can either flattr the URL of the webpage or the flattr ID (in case you know it). You will need an OAuth2 access token to do so, but the documentation explains how you can obtain it.
Related
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
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.
I want to Write Bot for Follow/Unfollow user in instagram , but instagram Api deprecated Follow and Relationships ...
can i use instagram Api for this goal or must be use selenium automation ?!
As per this article the Instagram API no longer provides functionality to follow or unfollow users. Looking at the current endpoints provided by the Instagram API the set of operations looks very limited - fetch a user, or a user's latest media, and get a list of comments on your media. You can view the changelog for the Instagram API here.
So to answer your question, no you can no longer use a bot to follow or unfollow a user via the Instagram API. Yes you will be able to write a Selenium script that will do this.
Try https://www.instagram.com/web/
https://www.instagram.com/web/friendships/6810462142/unfollow/
6810462142 = ID USER...
I think it works
You may need to use a tool such as Keygram - https://www.thekeygram.com
It does exactly what you are looking for with the follow/unfollow
I would like to grab the number of clicks for an arbitrary bitly link - not just those links that I created. Is this possible through the bitly API? And if so, what's the process to get the correct access_token. I've tried using the generic one you can generate on the site, but that only works for my own links.
Thank you!
Ren
Yes, you can get click data on arbitrary bitly links using the clicks endpoint. You can try it out with the API Console with a few different bitly links and see how if you run into problems.
To get an access token for just your account, you can follow the steps at the very top of the authentication docs.
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.