在没有验证用户身份的情况下调用并嵌入Yammer源?

时间:2021-11-12 21:53:39

I've configured an app in Yammer, have the Key And Secret values and all that stuff. What I'd like to do is get a feed of messages without authenticating the user. Is this possible and, if so, are there any samples available? Right now I'm using c# and Yammer.Oss.Api.

我已经在Yammer中配置了一个应用程序,具有Key和Secret值以及所有这些功能。我想做的是在不验证用户身份的情况下获取消息。这是可能的,如果是的话,是否有可用的样品?现在我正在使用c#和Yammer.Oss.Api。

1 个解决方案

#1


You'd need to create a service account then generate an access token with the user. There's a sample code here - http://blogs.technet.com/b/israelo/archive/2015/02/24/consuming-yammer-restful-api-with-angularjs-for-dummies.aspx

您需要创建一个服务帐户,然后为该用户生成一个访问令牌。这里有一个示例代码 - http://blogs.technet.com/b/israelo/archive/2015/02/24/consuming-yammer-restful-api-with-angularjs-for-dummies.aspx

#1


You'd need to create a service account then generate an access token with the user. There's a sample code here - http://blogs.technet.com/b/israelo/archive/2015/02/24/consuming-yammer-restful-api-with-angularjs-for-dummies.aspx

您需要创建一个服务帐户,然后为该用户生成一个访问令牌。这里有一个示例代码 - http://blogs.technet.com/b/israelo/archive/2015/02/24/consuming-yammer-restful-api-with-angularjs-for-dummies.aspx