Make Google Plus post through .NET (C#)

后端 未结 1 1663
-上瘾入骨i
-上瘾入骨i 2021-01-16 08:46

Good day all.

Does anyone has a working example how to make Google Plus post through .NET (C#).

I have already tried google and stackoverflow search, but did

相关标签:
1条回答
  • 2021-01-16 09:24

    Currently, the Google+ API does not allow writing of posts to a user's activity stream. You can use the moments.insert method in the Google+ REST API to write App Activities to the user's profile, which the user can choose whether to share publicly or to their circles.

    You would work with the REST API in a similar manner to other REST APIs in .NET by POSTing to the moments.insert end-point.

    This feature is now available to apps that request the https://www.googleapis.com/auth/plus.login scope and specify the type of moments that the app wants to write in the request_visible_actions parameter either in the Google+ Sign-In button or directly in the OAuth query parameters.

    0 讨论(0)
提交回复
热议问题