简体   繁体   English

如何通过我的Android应用更新Google+上的信息?

[英]How to update post on Google+ from my android app?

I want to update post like message,my location from my android app to Google+ wall/stream whatever it is.I already registered my app on Google console and turn On Google+ API,also am able to get data from Google+ like profile,friend circle. 我想将帖子(例如消息),我的位置从我的Android应用程序更新为Google+墙/流(无论它是什么)。我已经在Google控制台上注册了我的应用程序并打开Goog​​le+ API,还能够从Google+获取个人资料,朋友圈等数据。

I don't know how to update post on Google+ ? 我不知道如何更新Google+上的信息?

Is there any example or tutorial..... 是否有任何示例或教程.....

There is no general API to let you write or edit Google+ posts that appear directly on the stream. 没有通用的API可让您编写或编辑直接显示在信息流中的Google+信息。 The general philosophy behind the Google+ API is that anything posted must be done with an explicit user action. Google+ API的基本理念是,发布的任何内容都必须通过明确的用户操作来完成。 So while you can prompt the user to post from your app, the user must actually post it themselves. 因此,尽管您可以提示用户从您的应用发布,但用户实际上必须自己发布。

Similarly, while you can create a app activity that will post on the user's profile without explicit user action, the user still has to take actions to make that visible. 同样,虽然您可以创建一个应用活动,该活动将发布到用户的个人资料上,而无需用户进行明确的操作,但用户仍然必须采取措施使其可见。 App activities are only visible to a limited group, and are not posted directly to the user's stream. 应用程序活动仅对有限的组可见,而不会直接发布到用户流中。 To place it on the stream, the owner must explicitly share it. 要将其放置在流上,所有者必须明确共享。 (App activities are meant for event-like actions, such as watching a movie or checking in at a location.) (应用活动是用于类似事件的操作,例如看电影或在某个位置签到。)

Accounts that are part of a Google App Domain (ie - not gmail accounts) have this lifted slightly. 属于Google App域的帐户(即-不是Gmail帐户)的权限略有提高。 Applications can automatically create a post with visibility limited to other members of the organization. 应用程序可以自动创建仅具有组织其他成员可见性的帖子。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM