setPermissions on files using SkyDrive API - onedrive

We would like to interface our cloud app with storage on user's SkyDrive. Has anyone worked out how to emulate sharing with the SkyDrive API. As far as I can tell it's not supported in the public API apis.live.net/v5.0 but of course the SkyDrive site itself is doing this using an API call like;
POST https://skydrive.live.com/API/2/SetPermissions
...
Content-Type:application/x-www-form-urlencoded
...
{"id":"F2720F142345635B!207","entities":[{"role":2,"type":0,"email":"someuser#somedomain.com"}],"requireSignIn":true,"userAction":0}:
As far as I can tell, this isn't what happens when we use the JavaScript API wl.api() Is skydrive.live.com/api OK to use or would this be an unsupported/illegal hack? I would dearly love a contact on the SkyDrive team to give an official response on this.

The API does provide a way to get a unique link to the file for reading or editing
GET https://apis.live.netv5.0/file.a6b2a7e8f2515e5e.A6B2A7E8F2515E5E!126
/shared_read_link?access_token=ACCESS_TOKEN
or
GET https://apis.live.netv5.0/file.a6b2a7e8f2515e5e.A6B2A7E8F2515E5E!126/shared_edit_link?access_token=ACCESS_TOKEN

Related

How to work with Dropbox Paper TODOs via API?

I have gone through the API documentation on the Dropbox website, and have found the section that relates to Paper, however I don't see a way to work with the TODO's for a document or a user.
Is this something that is not yet supported or have I missed it ?
The Dropbox API doesn't offer a way to interact with Paper to-do items unfortunately, but I'll pass this along as a feature request.

Instagram's API

After the deprication of the instagram's API which provides the information about the followers of a user, some 3rd party apps can still provide the information of user's connection. What is the reason behind that?
I assume they are using a private Instagram API by reverse engineering it.
One way to do that is to observe the requests your browser makes (with the developer tools) and then remake the requests in their own code, providing the proper data, cookies, etc.
It can all be observed through the developer tools.
Hope it helps !
Beside IG's public API which is deprecated now, there are other solutions to achieve this. they may have bought the data from facebook inc or use tools and libraries like instagram private api.

Does Instagram API have any endpoint for deleting a media object (photo / video)

I'm trying to delete all the images/videos of my Instagram account without deleting my account. Doing this manually is taking so much time so I thought maybe I can implement a server-side app that send request to API considering the rate constraints etc. But I can't find any endpoints in Instagram API documentation for delete function of media objects.
I wonder if anyone has any knowledge for this purpose ? I saw some 3rd party apps provide this functionality as a paid service, I wonder if anyone know how they are doing this ?
There is no official endpoints can do this. The only DELETE method is for comments. However, if you don't care about the api is official or not, maybe you can try https://github.com/mgp25/Instagram-API/issues/38 .

How do I upload a photo / image to LinkedIn via API?

LinkedIn has a /share API endpoint which accepts a link and a message. The link is afterwards expanded to an OpenGraph card and that gives you a way to stick an image preview in there, but it seems there's no other way to upload an image/picture to LinkedIn feed like you can do in the web app itself.
Is there a way, private API, undocumented endpoint or some other way to do that?
Creating a rich media share is done in two steps. First, the media is uploaded to LinkedIn's media platform. Then, a personal or organization share referencing that media is created.
This URL might be help you.
https://developer.linkedin.com/docs/guide/v2/shares/rich-media-shares#upload
No. You need to give us the URL and we'll scrape it (or pull it from our cache).

Google Plus Crawler

I am working with a social media analysis and I'm collecting datasets for research. I have been searching on the web about any way to make a Google plus crawler. I had great experience with Twitter Streaming API, and even Facebook Graph API, but, I did not find anything on Google+ documentation that can help me.
Then, my question is if does anyone know about the possibility to make a Google plus crawler to gather information of public posts?
It isn't clear exactly what you're looking to crawl on Google+, but it sounds like you want the Google+ API for the web. In particular, you'll probably want to use the people.get, activities.search, activities.list, and/or comments.list HTTP API instructions.
Be aware, however, that this will only return public comments that were not shared to a community, even if that community is a public community.