Retrieve tweets and direct message


#1

when i use below request using the api…
https://api.twitter.com/1.1/direct_messages.json
https://api.twitter.com/1.1/statuses/mentions_timeline.json
I’m getting Error as
The remote server returned an error: (403) Forbidden…
please help me out…


#2

Seems you are failing to authenticate using OAuth. Can you provide an example how you are doing your authentication?