A couple of days ago I saw Bart Mroz testing out a new service that lets you post your images directly to Flickr via Tweetie 2. It’s a great idea, but it seems like there’s an unnecessary 3rd party in there. Flickr already has the http://flic.kr/ short URL, so it seems like you should be able to post your images to Flickr and receive the official short URL for that image.
Well, that’s exactly what my Flickr/Tweetie Bridge does. Just set it up, plug the URL into Tweetie, and you can start uploading/shortening with Flickr. It hasn’t been very heavily tested, but it’s working fine for me. Check out the 0.1 release. It’s PHP5-only, and released under GPL.
Let me know if you come across any bugs, or have feature requests.
Additional comments powered by BackType
You can leave a response, or trackback from your own site. Follow any responses to this entry through the RSS 2.0 feed.
Just released: Flickr/Tweetie bridge with flic.kr short URLs http://bit.ly/FosuU
This comment was originally posted on Twitter
@jmissig Found a better Tweetie-Flickr method. http://bit.ly/pMaOn
This comment was originally posted on Twitter
Thanks much for the script! This is really clean and simple.
This sounds like a great option for personal use, but for those who may be looking for an easy to use service that is SSL enabled, uses Twitter OAuth, and the Flickr API you should also feel free to check out my project (Flickr4Twitter) at: http://flickr4twitter.com
It’s not quite as easy to implement for most developers unless you know Ruby and Rails, but the website should be easy to use and implement for the average user
Thanks for the great PHP option and keep up the great work!
Good to know. Just for clarification, this PHP script can run as SSL (or not) and uses OAuth and the Flickr API. You pretty much upload it and follow a few simple instructions. Basic PHP knowledge would be helpful, but you can probably figure it out without it…
This isn’t what I use Flickr for! I used to… but then I started putting up proper photographic “work”. Sounds like a great idea – but I’ll just stick to Twitpic et al…
Thank you! This works like a charm and makes Tweetie 2 all the more fun and useful. Great work, and great form making this freely available.
Just wanted to point out that it does let you tag all Tweetie uploads with a specific tag (or set of tags), so you could easily separate out “junk” images from “proper” images.
Thanks for this!
Wondering, would it be possible to make it so the pictures gets uploaded with no title at all? If I remove the default title it will just generate some random letters. I’d prefer if it removed the title altogether in that case. Or maybe same title as the picture? iphone pic 1, 2,3 etc.
There’s no way to use the image title itself because Tweetie doesn’t send that information with the image. I think that you could just set
FLICKR_TITLEto and empty string and that would work.Alternately, Tweetie 2.1.0 and later sends the tweet along with the image data, so you could potentially use a truncated version of that. I haven’t tried this, but something along the lines of:
define('FLICKR_TITLE', substr($_POST['message'], 0, 20)); // 20 is the length you want to truncate toGive either of those a shot and let me know if you need more help.
CM
Sweet, that solution will work for now (work perfectly btw). Ideally an empty title would be the best, but as I said, it puts some random jibberish with an empty FLICKR_TITLE. I bet Tweetie doesn’t send somekind of trackback url to the tweet? That would be another solution.
Dude, I totally want to use this, but I’m totally clueless on how to open the php file. I’m running Windows 7…please help!
You need to run the file on a web server that have PHP 5 installed on it. You could try NearlyFreeSpeech.NET as a cheap hosting option. Then just open the PHP file in something like Notepad and follow the instructions inside.