How to get Yammer File's list of topics? - yammer

I used yammer rest api “https://www.yammer.com/api/v1/uploaded_files/[:id].json" to get the file details, such as message's json contains "topics", but I found that the response json doesn't contains the file's topics information,
So, I want to konw that is there any way to get file's topics?

The API does not currently support retrieving the list of topics for uploaded files on Yammer as of August 2014. Sorry! The information is there, but there's no way to access it programmtically right now.

Related

How to find messages in google spaces using chat.api

I want to be able to pull all text messages from a google chat space.
I'm looking at the spaces.messages.getbut it assumes you have the ID of a message. In similar programs (MS Teams), you can call an endpoint to list all message ID and then call the message API to extract the contents of an ID. However, google chat has no such API.
Has anyone come across a way to do this?
This is currently not possible
There is already a respective feature request on Google Issue's Tracker.
I recomment you to star it to increase visibility and hope that it will be implemented soon.

how to get raw message with microsoft graph?

I want to know how to get raw message from microsoft graph, as
GET https://graph.microsoft.com/v1.0/me/messages/{id} return json object, and I need rfc822 of mails.
Yes, please refer to Get MIME content of a message for a description and examples of the two ways one can get a message in raw (MIME) format.
In general, keeping an eye on the Microsoft Graph blog site, the what's new topic, or the changelog topic (if it's API or permissions updates) would help you discover additions and updates you were looking for. In particular, the ability to get the MIME format of a message or message type attachment was introduced in April 2019 in the beta version, and promoted to v1.0 in September a few months later.
This appears to now be available. I haven't tested it for myself yet though...
Today, we’re excited to announce general availability of the
following Microsoft Graph APIs:
Retrieve contents of an email message in MIME format Download file and
item attachments in their raw format Translate identifiers of
Outlook-related resources between formats You can now use these APIs
in Graph v1.0 to implement production apps that require access to the
raw contents of an email message or an attachment. You can download
file attachments in binary format or item attachments in MIME format.
Also, you can translate the format of identifiers of multiple
resources by specifying the source and target ID types.
These APIs had been among our top user asks and we’re happy to roll
these out on v1.0 endpoint worldwide. You can access these APIs on the
v1.0 endpoint by using syntax like the following:
GET https://graph.microsoft.com/v1.0/me/messages/{message-id}/$value
source
original uservoice request
using the sdk

Searching for Google+ Attachment

Google plus allows for the sharing of a url; and this gets added an activity as an attachment in the activity data. Is there a way when using Activities.Seach() to target the search to the attachment url? I can share a url on g+ and if the url is part of the comment of my post then I can then pull that post when using the activities.search; however if the url is only contained in the attachment, I can't pull any activities with that url. Is there something I'm missing? Any suggestions?
This is actually a known issue with google plus, one that has been requested quite a bit from the development community. https://code.google.com/p/google-plus-platform/issues/detail?id=57
The only real option at this time it to get an aggregate count of +1s and shares as shown here: http://www.helmutgranda.com/2011/11/01/get-a-url-google-count-via-php/

How to exclude mentions in the Twitter streaming API

I am using the Twitter Streaming API since I need to get all posts on the home timeline as well as lists and hashtags the user is following. However, this also returns mentions (which do not appear on the timeline) is there a way to exclude these from the streaming API?
It turns out that it is not yet possible to ignore #mentions in the Twitter Stream, so I just had to manually sort and remove #mentions after receiving the data.

Google Places API Email/Website

Is there a way to get Email/Website of a particular place using Google Places API? If this is not possible is there a way other than using Google API?
To retrieve a places website address using Google Places API, you could perform a Places Autocomplete Request with the input parameter value set to the name of the place: e.g.input=Amoeba
https://maps.googleapis.com/maps/api/place/autocomplete/json?input=Amoeba&sensor=false&key=your_api_key
Then using the reference from the response you could perform a Places Details Request: e.g.
reference=ClRMAAAAVzPUTLym999EXs4mKkpTqEmzX0a2kfXCUs4enTvWMHDd06VLvlzsGOdfrRd2QvkiRWs4sNkraAAJlMdytt4O4kYGoJZn4ENL5Ig5QYyeJmMSECDOGMO1MnDFtqzdqD8oDk0aFJr8_s-Y946QOz24YubPUsmoC2vl
https://maps.googleapis.com/maps/api/place/details/json?reference=ClRMAAAAVzPUTLym999EXs4mKkpTqEmzX0a2kfXCUs4enTvWMHDd06VLvlzsGOdfrRd2QvkiRWs4sNkraAAJlMdytt4O4kYGoJZn4ENL5Ig5QYyeJmMSECDOGMO1MnDFtqzdqD8oDk0aFJr8_s-Y946QOz24YubPUsmoC2vl&sensor=false&key=you_api_key
This would return the details for Amoeba including if available, the parameter website which would contain the places website address.
Google Places API provides Details requests and responses using your API key.
The tag allows for the google places url for that places
e.g.
http://maps.google.com/maps/place?cid=10704550479004381649
If you wish to harvest website, fax and opening hours information, it can only be done here.
There is no direct api in the Google Places API that will provide that info.
Just as addressComponents are part of the Details response, i assume tags will be added to the Place Details responses from the API to address this problem.
I have been trying to use Google Places API, and I have successful queries, fetching Places details, which has all the address information for the place I want to find, but ironically, there is NO WEBSITE attribute in the returned JSON!
The first version of Local search was MUCH better, and always accurate for searches when you know the business name.

Resources