Hein (fub) wrote,
Hein
fub

  • Mood:
It seems like I have to retract my previous post -- now I'm using something else to post to Twitter from the kliktikfix website.

After the posting to Twitter was done, I proposed to include a thumbnail of the photo in both the RSS feed and the Twitter post. Resizing images with PHP is not much of a problem, and including an <img>-tag in the RSS feed is trivial. But uploading media to Twitter seems to be impossible with the Twitter library I was using.
Searching around, I came across this entry on StackOverflow, which pointed me to the Codebird library. (This is the PHP version, there's also a Javascript version.)
Codebird does allow uploading media along with a status, so I changed the feed-mechanism once again to make use of it.

Today's entry is online: it has both a photo and a haiku, and I've activated the new feed mechanism in time for the 21:00 cron job. It ran without a hitch -- so there's now thumbnails on Twitter and in the RSS-feed, which is syndicated here on LJ as kliktikfix!
Tags: software
Subscribe

  • Supergeil

    I can’t stop thinking about this German supermarket commercial of six years ago. Especially since in German the slang term…

  • Make a dungeon together!

    Over on RPGGeek, there’s a fun thread to make a dungeon together. Someone selected a dungeon map, divided it into rooms/areas and invited the…

  • D&D best practice: Homebrewery

    Dungeons & Dragons is a game that rewards "system mastery": if you know the rules well, you will do 'better' at the game. (With 'better' being…

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments