From Your Search

Saturday code goodness means flickr, flafoo and twitter
1 comments      Added on 10/13/07 by Kris
So far I've got a new flickr + twitter script done and need to move on to flafoo while I have some daylight to burn.

The flickr + twitter code is why all of the pics have been showing up as posts and why all the people following me on twitter got blasted with 20 messages at once . . . sorry for that. I promptly setup a twitter account to test with.

For the last two months I have been sending photos from my phone to flickr and having them inserted as blog posts. Which has been pretty awesome and a ton of fun. But what I was missing was the twitter connection. Not anymore.

Now, thanks to this post from Dave Winer and code that I had already written for @tweetair (coming very soon, I swear), flafoo and Croncast, it took about ten minutes to get it up and running.

Dave's post was important because it turned the light for me. The "Ahaa" moment was when I realized I was already parsing my flickr feed every two minutes anyway looking for photos that I had marked to be blog posts. All I needed to do was differentiate what was to be a blog post from that of a twitter update.

It took about two seconds.

I make blog posts from flickr by starting a description of a photo with an asterisk, like so "*", and adding my content after that. For twitter I use "^" to tell the script to send a tweet. If I use them together "*^" then I get both.

Dave's setup with TwitterGram is much cleaner, using only the tag portion to note that a flickr upload is meant to be a tweet, simple and clean. I highly recommend it to anyone who wants to tweet their flickr photos with ease. My code is custom and considerably more messy for a guy that wants to have control over blog posts, blog posts and tweets or just tweets by uploading photos to flickr.

API's + the RSS 2.0 + curl + simplexml_load_file = ridiculously low threshold for a mediocre coder to join the integration party.

Speaking of API's, I will be updating flafoo today and possibly tomorrow with new categories that will henceforth be known as "flafoogeries" and the ability for anyone to add a "flafoogery" from the site.
  

Tags
  TwitterGram  Dave Winer  twitter  flickr  flafoo  



Sling Media - The Slingbox PRO HD (Sling Box) NEW!
Current bid: $225.50 on eBay
Slingbox AV : Used : Free Shipping
Current bid: $50.00 on eBay
See all 115 Slingbox items on eBay.  



1 Comments
1

Kris,
Have you looked into http://twitterfeed.com/

I have it linking my del.ico.us, Feedburner feeds. and Feedburner pulls my blog, Flickr, and Diggs feeds

 
Posted by: Brian  at: 10:20am 10/15/2007  

 
Leave a comment
Name:
Email:
Url:
Comment:
 
 
 
 
<< view all shows
 
 



Have us over



Scratch   Archive


See all 0 Vince Lantern Sleeve Top items on eBay.  
  June 2008 (7)
May 2008 (8)
April 2008 (11)
March 2008 (8)
February 2008 (10)
January 2008 (10)
December 2007 (6)
November 2007 (13)
October 2007 (12)
Sep. 2007 (11)
August 2007 (13)
July 2007 (11)
June 2007 (11)
May 2007 (13)
April 2007 (13)
February 2007 (10)
January 2007 (11)
December 2006 (13)
November 2006 (16)
October 2006 (12)
Sep. 2006 (10)
August 2006 (13)
July 2006 (14)
June 2006 (10)
May 2006 (12)
April 2006 (15)
March 2006 (9)
January 2006 (3)
December 2005 (4)
November 2005 (7)
October 2005 (13)
Sep. 2005 (13)
August 2005 (14)
July 2005 (7)
June 2005 (13)
May 2005 (13)
April 2005 (14)
March 2005 (13)
February 2005 (19)
January 2005 (21)
December 2004 (24)
November 2004 (18)