Open asiriyo-kor opened 9 years ago
When you retrieve a hash tag , if you set the limit to more than 20 , 400 error occurs .
https://developers.google.com/+/web/api/rest/latest/activities/search
before>> request_url = Feed.google.api + 'activities?query=' + hashtag + '&key=' + options.google.access_token + '&maxResults=' + options.google.limit;
after>> google_limit = (options.google.limit > 20) ? 20 : options.google.limit; request_url = Feed.google.api + 'activities?query=' + hashtag + '&key=' + options.google.access_token + '&maxResults=' + google_limit;
In some languages do not search.Let's use this method . hashtag -> encodeURIComponent(hashtag)
When you retrieve a hash tag , if you set the limit to more than 20 , 400 error occurs .
https://developers.google.com/+/web/api/rest/latest/activities/search
before>> request_url = Feed.google.api + 'activities?query=' + hashtag + '&key=' + options.google.access_token + '&maxResults=' + options.google.limit;
after>> google_limit = (options.google.limit > 20) ? 20 : options.google.limit; request_url = Feed.google.api + 'activities?query=' + hashtag + '&key=' + options.google.access_token + '&maxResults=' + google_limit;
In some languages do not search.Let's use this method . hashtag -> encodeURIComponent(hashtag)