I face a problem when I want to send a request the result comes with this result {"error": "Unauthenticated."} my request is
enter image description here this request gives me this error what I'm doing wrong I don't understand
Can someone help me with this problem thanks, you guys!
Related
After 2 weeks that I was using that API correctly and I have upload a few video on YouTube, today I receive this error when I try to get a new access token:
Error 400: invalid_scope
Some requested scopes were invalid. {invalid=[https://googleapis.com/auth/youtube.upload]}
Also with the old access token that was working yesterday, now I cannot proceed..
Now I can think that YouTube for some reason have blocked me or something like that because I haven't changed the code.. Anyone have experienced something like this? How I can proceed? At least I want to know if I was 'blocked' and for what reason.
Trying to make call from my app to a number using Twilio API's
When call is received, getting application error
and here is the debugger logs for that call:
Error - 11200 HTTP retrieval failure 502 Bad Gateway errors
Passing a URL when POST Request.
Can anybody help me through this?
have you taken a look at this information from Twilio? They give possible causes and possible solutions for the error you received. Did you specify the correct content-type header in your response?
If you could share your code, that would be great!
Hope this helps!
I am using the below url for getting the share count for twitter
https://cdn.syndication.twitter.com/widgets/tweetbutton/count.json?url=google.com
It is working finee before yesterday then sudden its get broken and I am getting below response from twitter when calling above url
"errors":
{
"message": "Sorry, that page does not exist",
"code": 34
}
Then I have also tried below url for getting share count
https://cdn.api.twitter.com/1/urls/count.json?url=www.google.com
http://urls.api.twitter.com/1/urls/count.json?url=www.google.com
It also result in same error
Please anyone can help me how can I get the proper share count in twitter, And I am not so good in English I apologies for that
Twitter disabled this feature a few days ago that's the reason why it is not working anymore.
You can find more information by reading this blog post.
Twitter shut down this API, but you can get an alternative at http://opensharecount.com
I recently got oAuth working for my iOS app to log in to Tumblr. Now I'm having trouble posting using the new API calls. I'm able to generate a request and prepare Autorization headers but I'm still getting errors.
Here is my URL:
http://api.tumblr.com/v2/blog/my_blog.tumblr.com/post?tweet=no&tags=my%2C%20app&state=published&type=text&title=Hello&body=I%2520finally%2520got%2520this%2520to%2520work
Here is my Authorization header with x's in place of sensitive info:
Authorization = "OAuth realm=\"\", oauth_consumer_key=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_token=\"XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_signature_method=\"HMAC-SHA1\", oauth_signature=\"XXXXXXXXXXXXXXXXXXXXXXXXX\", oauth_timestamp=\"1347656207\", oauth_nonce=\"XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\", oauth_version=\"1.0\"";
There error I receive:
{"meta":{"status":400,"msg":"Bad Request"},"response":{"errors":["Post cannot be empty."]}}
Does anyone have experience with this? I've been working at it for at least 20 hours over a two day period.
Any help is greatly appreciated.
EDIT: I've also tried including authorization data in the url (i.e., oauth_token, oauth_consumer_key), essentially the stuff found in the header. When I do this I get a 401 "Not Authorized" error, which I know isn't correct because I just successfully called "http://api.tumblr.com/v2/user/info" which requires a valid authorization.
found solution, see explanation here.
I check trends regarding to REST API of twitter. get trends
Generally it works well. But sometimes I get 404 error.
After some minutes it comes back.
Error code is:
{"errors":[{"message":"Sorry, that page does not exist","code":34}]}
Does anyone had this issue? What would you recommend ?
Please check this link, it gives 404 now.
https://api.twitter.com/1/trends/1.json
how often are you accessing this call - are you sure you are not breaching the rate limit? If not breaching, this could possibly be an issue on the twitter end and you would need to handle the error message, use the previously cached response for your application till you get an updated feed from twitter. hope this helps