List last 5 tweets with jquery

Asked

Viewed 157 times

0

I need to list the last five tweets of a Twitter user, and I need only the text and the date to appear. I am trying to widget from Twitter itself, but it’s very complicated. Someone would have another solution to this?

  • Show how complicated it is, how far you got and where you left off. I think the question will be more objective like this.

1 answer

1

You can use a built-in Timeline, which is just a javascript code that generates Timeline on your site. See more: https://dev.twitter.com/web/embedded-timelines#user

The alternative is to use the Twitter API, but there is no way to access it directly from javascript, as it uses Oauth authentication. If there is the option to do from your backend and access the result directly from your server, so you can decide how it will be presented. For that, see: https://dev.twitter.com/rest/reference/get/statuses/user_timeline

Browser other questions tagged

You are not signed in. Login or sign up in order to post.