Previous Entry Share Next Entry
flickr2facebook
photogeek
crschmidt
So, I'm crazy today. And when I say that, I mean utterly twitchy can't concentrate on anything for more than a few seconds completely convinced the world is about to come crashing down about my ears crazy. It's quite terrible, to be honest, but since there's not much to be done about it, I just try to cope.

Anyway, since I couldn't concentrate on anything I was supposed to be concentrating on, I put work down and hacked on something. That something ended up being a tool to sync photos from flickr to facebook -- which I'd attempted at one point before, but abandoned when I convinced myself there must be a better way to do it.

Well, in the end, I convinced myself there really *wasn't* a better way to do it, and I just needed to go ahead and take the leap. So I did. I learned SQLAlchemy (which I find somewhat ugh compared to Django's ORM, but hey, such is life), and put together a script that would sync the Flickr metadata locally. Then I put together another set of functions to sync it all back up to Facebook, and wrote a map of tags from flickr to Facebook user IDs.

Other than one small Facebook functionality which was poorly understood by me -- album sizes are limited to 60 pictures, wtf is up with that -- and one minor bug -- when 'chris' and 'crschmidt' were both listed as tags, a person got tagged twice... and the Facebook UI copes with that not at all well -- I was able to write a script in a single day which synced all my photos over, and which I'll be able to run periodically to keep things up to date from here forward.

The end result is that:
0. All of my public flickr photos are now also shared on Facebook.
1. I have 129 pictures of me listed on my profile, including 25 of me with Jess
2. I probably spammed the shit out of a ton of people, since they got listed as being in photos I was 'uploading'. "Oops"?

Unfortunately, unlike usual, this project hasn't been cathartic; I haven't been able to sleep, it's now 3am, and I have no idea what i'm going to do tomorrow.

Sigh. I want a new brain. But at least the current one is accomplishing *something*, even if it's not at all related to what it should be doing. How I wish taht i could get paid just to hack on whatever my brain feels like doing...

  • 1
2. I probably spammed the shit out of a ton of people, since they got listed as being in photos I was 'uploading'.

maaaaaybe? (It's gmail, though. Yayfor threading!)

Sorry I didn't reply to the text the other day...I've been totally scatterbrained recently :(

It's not my fault you're cute and used to live nearby!

No problem on the text; I got the impression you haven't been particularly social and so on, but I was flipping through my phone looking for people to invite to our party and stumbled across you. (I do miss talking to you though; someday you should get online again ;))

When do you start at nxj? Some day I should come down and see New York, though I expect you'll be busy enough that I wouldn't get to see you even if I did :)

  • 1
?

Log in

No account? Create an account