I want to share some information in Google+ wall from my application. For that I go through the Google+ API. In that API they are mentioning how to get access token of a particular user, but they do not mention how to post in users wall using the access token.
相关问题
- Google places autocomplete suggestion without coun
- Karate API Testing - Access variable value across
- How to verify laravel passport api token in node /
- Converting byte array output into Blob corrupts fi
- How to handle “App is temporarily blocked from log
相关文章
- 我用scrapy写了一个蛮简单的爬虫怎么封装成一个api啊
- 后端给前端的API接口是怎么用代码写的
- Convert C# Object to Json Object
- Android camera2 API get focus distance in AF mode
- Creating GoogleApiClient for multiple activities
- Google Plus Login Integration Error iOS
- Getting all listing images from an Etsy shop
- Is there an API to get statictics on Google Play d
//Follow this : https://developers.google.com/+/mobile/ios/share/
This might help: I have made this bookmarklet to post links to pages that I liked to my stream:
The URL is self-explanatory. If your post content can be served via URL then you can post it like that. The only difficulty is to automate the posting callback from Google but I do not need it, should not be too hard.
You can now do this. See google's developer docs below:
https://developers.google.com/+/domains/posts/creating
The only thing to be aware of is that the Google+ Domains API only allows creation of restricted posts, and only allows comments to be added to restricted posts.
Well, Google+ doesn't have a "wall," it has "Streams." The proper term might help you find better search results. Either way, unless you're a Google partner, the news isn't good:
The API is currently limited to read-only access. From the API website:
Because it's read-only, you will not be able to update or post any information anywhere through the API -- you can only use it to pull basic information like profile and activity details.
Given that access to the API may change over time, I'll try to keep this answer up to date with information about news or changes related to write access.
News & Updates
2015-04-28
: Google+ Domains API was announced way back in August 2013, but somehow I missed its relevance to Google+.No, it does not provide full write access to a user's Google+ profile, but it does give you minor advantages over the Google+ API v1, at least within a domain. This one's mainly for mobile app developers.
2015-01-21
: I have revisited many of the sources linked in this answer and searched for news regarding API changes, but Google has been quiet.2014-03-12
: Various discussion threads on Google+ about write access (or lack thereof):2013-12-03
: The issue thread from UPDATE 1 has finally been responded to by a Google+ project member. Additional discussion regarding write-access to Streams is taking place intermittently on the Developing with Google+ community page.2013-07-05
: A developer named Eric Leroy has built an "unofficial" JavaScript library that provides read/write extension to the Google+ API.2013-05-14
: A "social media management company" can gain additional API access by attempting to become a Google+ Pages API Partner.Here's an excerpt from the Partner Application Form:
Other articles explaining the lack of a write API:
2013-01-04
: Google just announced Google+ History. You can use it to write "moments" (which are private by default) but can then be made public by sharing them directly to your stream and/or your profile. One of the moment types isCommentActivity
.2012-10-08
: There's now a duplicate bug post with only a few comments, but you can check there for future updates as well.2012-06-25
: I came across the issue tracker post for Google+ Write Access. The enhancement request status is "New" and priority is "Medium" as of June 25th, 2012. There are some links of interest in the comments.Writing to Google+ Profile Streams is restricted to just domains.
For example, If you own a company named xyz co and has a domain xyz.com. You can used Google+ Domains API to write to streams. Though that will be restricted to people using same domain and using Google G Suit App for business and is not available for normal Google's gmail.com email ID.
For example Jon and Misha are working as employee in xyz co and has associated company mail id jon@xyz.com and misha@xyz.com then they can post to associated domain streams in Google+. Though these post will not be visible publicly and are restricted to be visible to members belonging to same domain. If any post has to be made public, then you have to do that task manually Ref.
If you are looking to post information on Google+ for some business or celebrity then you must are looking for Google+ Page API, which allows you to write post on business page. Though they have restricted here with partners application form that need to be approved for having your access to Pages API, which is very stringent and difficult to get approved.
Other method to post in Google+ is via their Share button, Interactive Posting & Embedded Posting to Google+ Ref.
If you use wordpress there is a plugin that allows you to post automatically to google plus WP Plugin Post to Google Plus however it's not free, cheap but not free. You can probably debug it since it's php and see how they do that.