I want to use REST API to share a post (Not posting a new message but sharing existing post) from my line of business application. Does anybody know which endpoint to use and how it can be achieved.
相关问题
- Design RESTful service with multiple ids
- Axios OPTIONS instead of POST Request. Express Res
- Plain (non-HTML) error pages in REST api
- Laravel 5.1 MethodNotAllowedHttpException on store
- Google places autocomplete suggestion without coun
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- Convert C# Object to Json Object
- Android camera2 API get focus distance in AF mode
- Got ActiveRecord::AssociationTypeMismatch on model
- Multiple parameters in AngularJS $resource GET
- Global Exception Handling in Jersey & Spring?
- Getting all listing images from an Etsy shop
When you use the Yammer API to create a new post, pass the argument :shared_message_id with the message_id of the message you want to share.
For example, in Ruby, you could do this:
This will post a new message in the group specified by group_id with the standard shared message view.
You will have to change OAUTH_TOKEN above to the oauth token for your user account, or to your app's token.