I have a Google+ comment box on my WordPress blog.
It posts comments specific to the window.location of each post - so it can display comments that were made with comment box at that exact URL (below the comment box).
This works great - I would however like to display the total number of Google+ comments at the top of the post as well...
Is there a way to query the G+ API for this info?
I have poured over the Google documentation and unfortunately I don't speak software engineer fluently!
If you want the link to a post (it's just lorem ipsum right now):
http://www.thedesignlabproject.com/frontPage/post6/
Thanks!!
There are no APIs for the Google+ comments widget. You can perform a search for public comments that were shared to Google+ but that's about it. If you would like to see an API you should file feature requests.
Related
Just notice Google Place API has this update, the problem is all of the names are changed to A Google user and it looks like including people is not posted by anonymous:
author_name the name of the user who submitted the review.
Anonymous reviews are attributed to "A Google user".
https://developers.google.com/places/web-service/details#PlaceDetailsResults
I am using a simple JS plugin to display reviews on a website, right now all of the Review author names are changed to A Google user: https://github.com/peledies/google-places
Here is the demo: https://jsfiddle.net/1ta6ekc2/14/, and I try to change a lot of places which the author name is still the same.
From a normal search popup review page, all of those review author names are fine: https://www.google.ca/search?ei=JwKQW-3zB4i6tQXSpZjwBg&q=citizenM+New+York+Times+Square+Hotel&oq=citizenM+New+York+Times+Square+Hotel&gs_l=psy-ab.3...3952.3952.0.4677.0.0.0.0.0.0.0.0..0.0....0...1.2.64.psy-ab..0.0.0....0.3si1JLloRdA#lrd=0x89c258564165b30f:0xdebbed18bae58050,1,,,
Is that a bug or just a new rollout feature from Google? Thanks!
This has been acknowledged as a bug in the Google Advertiser Community here:
https://www.en.advertisercommunity.com/t5/Basics-for-Business-Owners/name-of-reviewer-Not-Showing/td-p/1797837#.W5Aiz-hxgeA.gmail
I saw on a slide deck about yammer that activities was a valid endpoint in the REST APIs. But the yammer site does not show this. I am looking for a sample in JavaScript for posting to the activities feed.
All of the documentation about Yammer's Activity Feed API can be found in the Open Graph documentation found here:
http://developer.yammer.com/opengraph/
Specifically, you want to POST to:
https://www.yammer.com/api/v1/activity.json
We don't have any specific Javascript samples available, but that should be enough to get you started.
How can I get the plus.google URL page of the corresponding google place based on the place_id I obtain from the json the maps.googleapis.com/maps/api/place returns?
Perhaps you can use the Place Details api using the place_id?
https://developers.google.com/places/documentation/details
This seems old post now but wanted to add some more details. 'places' details API provides google plus URL:
Quoting from https://developers.google.com/places/documentation/details:
url contains the URL of the official Google page for this place. This will be the establishment's Google+ page if the Google+ page exists,
You once you have place_id, use:
https://maps.googleapis.com/maps/api/place/details/json?key=your_key&placeid=interested_place_id
And look for 'url' key.
Its a different question if you want to extract details from that page. I do not know if google has API for this.
As I understand, there's no official G+ API for getting photos from albums.
But I've figured out from here that Google Plus uses Picasa internally.
My questions are:
Is it possible to figure out only via G+ API Picasa userId?
If yes, how can I do it with G+ API if I only have the Google Plus page URL(something like this: https://plus.google.com/104560124403688998123 - or - https://plus.google.com/115999964287637644901) ?
Thanks in advance.
The link you "figured it out from" tells what you need to know. That first big number in the page URL is the UserID. From there you can call something like:
https://picasaweb.google.com/data/feed/api/user/115999964287637644901
and it will give you a list of the albums available. Drill down from there.
Downside? Sometime soon Google is no doubt going to change all this by implementing a real G+ API for photos.
I am using Google Places to render some hotels from a specific area in a website. I was able to get the details like:
https://maps.googleapis.com/maps/api/place/details/json?reference=CoQBfAAAAGnd67oCT886cIfOC8m57hGAHyf9saAs8hueRcbguA22mPcazjkk23BWMUOgvrigofuwM1HfRGpLcFtF1WXxv3_n8gb6WgXfaqQFbA0U4_ytSyLyksipx2tjwWU-3EW39ePYtpYhiCwRq9xlNI72Ah4Wv0WytqiJOTF49iTBwCD9EhD1ez5NJDr-pZMI9WagObi3GhQmn9Dum95KN61ZKamJ27wUoJxjvQ&sensor=true&key=[google_key]
If you see the result, it also has a url to official google page.
Is there any way to get the photo of this place from there?
Because the icon parameter does not have the image from here but a specific google image which is the same for all lodging types places.
The Google Places API does not currently support this feature. If you believe this would be a useful feature you can submit a `Places API - Feature Request' here:
http://code.google.com/p/gmaps-api-issues/issues/entry?template=Places%20API%20-%20Feature%20Request
Google Places API Photos like Google Maps Photo. It is not Business Photo.