How to access an attachment in a chat message - hangouts-chat

Is there a ressource that would let me access an attachment in a google hangouts chat, I can see the url to get a preview, for instance :
https://chat.google.com/downloads?attachment_token=TOKEN&content_type=image%2Fpng
But I failed to find in the rest api reference anything relevant, I thought it would have been in the message get : https://developers.google.com/hangouts/chat/reference/rest/v1/spaces.messages/get

As of now Hangouts Chat currently does not have this feature as the preview link is generated internally. The best thing to do is to look for an existing feature request or file a new FR via https://issuetracker.google.com/issues/new?component=350158&template=1047215 and hope that it gets enough upvotes.

Related

Instagram - Get Direct Message

I'm writting a new post, because all of topics that was related with getting Instagram Direct message via API are a little bit old.
Do anyone knows if there is a possibility of GET Direct Messages via API or in some programatically way?
Right now, it doesn't look like you can. The Instagram Graph API docs don't mention direct messages at all. The old Instagram API never had this.
Take a look to the Component InstagramApiSharp, it contains this functionnality. There are some actions that you can built for the direct message with it.

direct message sync issue with twitter API

I am using the twitter api to get all direct messages
while testing I tried to delete a message from the twitter website and then tried to reload my app's direct message page (get via api) - the dm I deleted was still showing in my app but it wasn't on the account I was using on the website.
I'm not sure whats going on here, any help is appreciated
You usually should give a second after an update/delete operation on Twitter. If you do, I would say that something is going wrong with your code.

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).

Dropbox API: Get Notified On File Events Without Polling

I found this post on getting Notified when a file changes on dropbox. The problem is that the "/delta" API endpoint requires polling. I want instead to subscribe to events about file changes.
Ideally, I could subscribe to both "new file" and "file updated" events for a specific folder. I could then give dropbox a URL pointing to my own app that would be called when those events occurred. This is similar to how Twilio works. You can provide a URL to be POSTed to whenever your phone number receives a text message, and then your app can respond to POSTs to that URL however it wants. This seems like a much more elegant solution than polling -- is there any way to do it with the dropbox API?
UPDATE 6/5/2014
We actually have webhooks now: https://www.dropbox.com/developers/webhooks
(original reply below)
No, Dropbox doesn't support this.
BTW, the general term for the sort of notification you describe is a "webhook."
http://developers.box.com/webhooks/
it seems like Box API has webhook. You may want to try it.
I received an email today regarding Dropbox WebHooks that is in the beta phase:
If you're interested in helping us out, just click through to fill out
your information, and we'll be in touch:
https://dropboxapi.wufoo.com/forms/dropbox-webhooks-api-beta-feedback-contact-info
Happy Dropboxing!
Dropbox now offers webhooks, although not with a event_type filter
https://www.dropbox.com/developers/blog/90/announcing-dropbox-webhooks

get the data from soundcloud and reverbnation for a windows 8 app

I am trying to create a windows 8 app for a particular band who have stored their songs on
Reverbation and soundcloud. My problem is that i dont know how to get those contents from these sites...I tried creating an rss feed using feedburner but that failed. Is there any way where i can get the feed or the data for my app.
SoundCloud has a well documented API. You can check yourself if the functionality you require is available.
ReverbNation on the other hand doesn't seem to have a public API available at the moment. There's only an API link in the page footer which opens a dialog for subscribing to any news regarding that via email.