Following is the URL which i m hitting: https://api.twitter.com/1.1/search/tweets.json?q=%23fb&result_type=recent&count=5
it should return some result but it return
{“errors”:[{“message”:“Bad Authentication data”,“code”:215}]}
What is solution for this
Are you using authentication to connect? Take a look at OAuth 1.0A or application-only auth documentation on this site for instructions on how to access resources with authentication.