Regarding API V1.1


oauth_token ,
oauth_token_secret ,

I have provided the above for OAuth Authentication but still unable to get the data when i used the following URL as i’m getting 404 and 502 Exceptions.

So, please let me know how i can fetch the data by using above URL in new Twitter API version 1.1 and how i have to develop the code to get data.
Provide me the sample code ASAP.