I'm having a hard time finding some material that explains how I use the Twitter API to pick up the latest posts from a particular user and display them on my website.
According to the official documentation I got the following requisition:
GET https://api.twitter.com/1.1/statuses/user_timeline.json?screen_name={{nome}}
Where {{nome}}
is the unique identifier name of the user.
However, the result never changes:
{
- errors: [
- {
message: "Bad Authentication data",
code: 215
}
]
}
In the code, I usually use the $.getJSON()
function of jQuery, but I believe it would not change the scenario.
I do not think it's as simple as I thought it was. What steps should I take to reach the goal quoted at the beginning of the doubt?