Reputation: 960
I am fetching all the activities from google plus API using activates.list
My request: https://www.googleapis.com/plus/v1/people/117575809843355974839/activities/public
Error:
{
"error": {
"errors": [
{
"domain": "usageLimits",
"reason": "dailyLimitExceededUnreg",
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup.",
"extendedHelp": "https://code.google.com/apis/console"
}
],
"code": 403,
"message": "Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup."
}
}
I have authenticated google plus login and getting access token, but how should I use it in making API calls
Upvotes: 1
Views: 211
Reputation: 117016
If you have an access token you simply need to add ?access_token=[your token]
onto your request.
https://www.googleapis.com/plus/v1/people/117575809843355974839/activities/public?access_token=XXXXX
Background info. To make any call to Google even to public data you need to identify your application using either an API key (only for public data) or an access token (public and private data).
Upvotes: 1