Slack and Teams have a way of posting custom link previews. I was not able to find any way of doing something similar in Yammer. Does anyone know if it's possible to make Yammer send some POST message to my endpoint and receive custom content back to display?
Related
I have created a slack bot and I want to send a general static help message to users when they send a direct message to my bot:
Should I subscribe to Events API? Or do I need to do this in another way? I couldn't find a clear answer for this.
There are two ways to do make your bot user reply to direct messages:
Events API
Real Time Messaging API
In my opinion the Events API approach is easier to implement since it does not require using WebSockets.
The basic approach with the Events API is:
You need an endpoint that can receive event requests from Slack and
react to it, e.g. by sending a direct message back to a user.
Subscribe to message.im event for your bot user
Note that a bot user already has all the required scopes for this with the bot scope.
In addition I would recommend to subscribe to app.mention for your bot user. Then it can also react to mentions in other channels.
Btw. that message you posted looks a lot like a review comment from the Slack team for a new app submission. I got a similar one for my last app and I solved it with the approach above. In general it looks like if you want to have a bot user in your app it needs to be able to respond to help request from users.
How many quick replies can add in twitter direct message? And when can I use this quick reply feature in twitter? which API should I use for sending image in direct message for twitter?
Here you can find all the detail you need
https://dev.twitter.com/rest/direct-messages/quick-replies
if you choose option list then you can mention up to 20 Options in quick reply
https://dev.twitter.com/rest/reference/post/media/upload
Here you can find Media upload API detail,
after upload media you will get Media Id that id can be passed along with direct message.
https://dev.twitter.com/rest/direct-messages
Is it possible, using Twitter's Web Intents, to have a link that when clicked :
Opens a popup to send a tweet containing the link I have chosen (no problem so far, I have tried that and it works)
Then, once the tweet is sent, calls a js or php script ?
Twitter's Tweet Web Intent doesn't provide this functionality. You'd have to build a solution using either the REST or Streaming APIs. Even that would only work if the user's Tweets are public, or if they give you read access to their timeline.
how to make a google plus post with api request?
I'm using GooglePlus.framework but the dialog should not appear when sharing
I believe you actually have the library working correctly. The dialog appears because a user must consent to share before content appears in the Google+ activity stream.
What you're trying to do is a frequently requested feature, please star the issue tracker here and suggest the best way to make writing to a user's activity stream awesome.
I am an iOS developer and I am writing an app which needs to take statuses from my Facebook page and and display them in my app.
Does the Facebook API support that?
If it does, can anyone give a link for some tutorials or explain how can I make this?
I know that API supports an RSS feed but i don't found how to feed my statuses.
If you're using a Facebook page, you can easily use the graph API to query for posts made by that page. For example, for Starbucks:
http://graph.facebook.com/Starbucks/posts
You can simply load this in your browser to see the format the data comes back in, and all that's needed to access this data is a simple HTTP request. You can replace Starbucks with your Page's ID or username to get your Page's posts. These come back in JSON, which should be fairly easy to handle on your end.
Yes, the Facebook Graph API allows you to access your profile and extract any information you'd like from it.