Google+ People Search API returns no items

橙三吉。 提交于 2019-12-09 15:37:41

问题


Is google+ people search deprecated?

I'm using the Try this API from their page https://developers.google.com/+/web/api/rest/latest/people/search

and keep getting no items for different queries

{
 "kind": "plus#peopleFeed",
 "etag": "\"ucaTEV-ZanNH5M3SCxYRM0QRw2Y/K-_p8YwZl_F9FBOVSt8JEHLSg9Y\"",
 "selfLink": "https://content.googleapis.com/plus/v1/people?
     query=jane%20smith&key=[mykey]",
 "title": "Google+ People Search Results",
 "nextPageToken": "",
  "items": []
}

回答1:


yes, this broke in the past day or two, after working for years.




回答2:


No its not, I have been using it for the past two weeks within a .Net code but since yesterday there has been some mishaps (as you have shown no items return in searches that normally would return items). If this is not the first time you use the API then I would try to use another google account for authentication (if you are using Auth2 not an API key). it might be a quota limit. If this is your first time testing the API, then Id wait, peoplesearch.execute works around once in 15 times now (returns results vs no items at all), with no specific error returned to understand the reason. so it might be a glitch. Will update the answer once I reach a more solid conclusion.



来源:https://stackoverflow.com/questions/47653930/google-people-search-api-returns-no-items

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!