I want to include Twitter tweets on my D7 site, but from what I read, it has become cumbersome to say the least, with Twitter having "changed" their API a couple of months ago. I have my Twitter widget, and with the code below I can include my own tweets. Nice, but that's not the idea...

<?php
echo '<a class="twitter-timeline"  href="https://twitter.com/some_person"  data-widget-id="MY_WIDGET_GIVEN_BY_TWITTER">Tweets by @some_person</a>';
echo
"<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+";
echo
'"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>"';
?>

I want to include other people's tweets (with their approval), Twitter search results etc. on my site. But whatever I do, I keep getting just my own tweets, not the ones from the rest of the world.

How can I get Twitter stuff - preferably without too much of a hassle such as OAuth and the like...?? Any pointers?

Comments

I guess I wasn't very clear in my initial message. My goal is to programmatically include tweets, based on @twitteruser or #hashtag terms, without having to go to the Twitter site every time when I would like to include a new line of tweets. With Drupal's Twitter Pull module that used to be a matter of just adding a new @twitteruser or #hasthag term at the proper place, but that simplicity appears to have been kicked out by Twitter. If that is really the case, it would be too bad.

So, still hoping: can I programmatically include tweets without jumping to twitter.com twenty times a day?