I want to to a simple GET users/show. I am coding in Javascrit and I was using this url in my Http get request with Api v.1 to get a users information : https://api.twitter.com/1/users/show.json?screen_name=BillGates&include_entities=true. But it gives me this error now :
{
errors: [
{
message: "The Twitter REST API v1 is no longer active. Please migrate to API v1.1. https://dev.twitter.com/docs/api/1.1/overview.",
code: 68
}
]
}
So then I got the API v1.1 url which is this : https://api.twitter.com/1.1/users/show.json?screen_name=BillGates( Got it from https://dev.twitter.com/docs/api/1.1/get/users/show). This url gives me this error :
{
errors: [
{
message: "Bad Authentication data",
code: 215
}
]
}
I'm very new with Twitter API. And I need to replaced the API v1 with the API v1.1 If anyone knows what to do, that'd be really appreciated. Thanks