Data Art

javascript
data

#1

I have a data art project I’m working on for school. I want to be able to retrieve random tweets from Donald Trump’s feed and display them on CodePen. This is a class for novices, so I know only very basic JavaScript. Any suggestions?


#2

Check out Tweet embeds: https://developer.twitter.com/en/docs/twitter-for-websites/embedded-tweets/overview

With that it’s a matter of using <blockquote> elements with random tweet ids, and including the widgets.js so they load up properly.

For tweet ids there’s a few datasets online that list all the tweets like trumptwitterarchive.com


#3

Extremely helpful, thank you!


closed #4

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.