How to get correct ID?


I am trying to create an app that shows a user’s friend’s Tweets. The function requires id, and I have used both @username and internal ID, but twitter sends a message “Sorry, that page does not exist”,“code”:3.

This problem is only in accessing a friends timeline, on accessing my own, it works perfectly. Could anyone tell me whats wrong?