Skip to content

Tag: twitter

Posting to Twitter with PHP and OAuth class

Needed a bit of an update on a font site I threw up a few years ago. Specifically I wanted to put a script together to tweet a random font each day. Should have been easy since I already had a script that tweeted new fonts, although it’s been a bit behind since I haven’t been updating the site like I needed.

Realized that the old script wasn’t working though since Twitter switched to OAuth and the class my old script was using didn’t use OAuth.

Came across this post which lead me to a Twitter OAuth class which made the whole process dead easy.