Twitter REST API Error

php
api

#1

I am using a php script to search by name of user, as well as location(such as the city they say they are at on the side or actual geocoordinates), and for some reason, this url is giving an error, while others such as searching by geocoordinates as well as posts.

$url = 'https://api.twitter.com/1.1/users/search.json?q=%40twitterapi'; 

when using this url, it says “could not authenticate you”. I looked at the tokens and it says they are valid for both get and post, so I’m not sure what the error is.


#2

Are you using a specific PHP library to help to form the OAuth tokens?