Log in

No account? Create an account

Wed, Jul. 11th, 2007, 09:30 pm
People are Strange, when you're a Stranger

I finally got to do a bit of hacking this evening and noodled around with Net::Social. I'm not entirely sure on the name but this module will probably go nowhere since it's mostly just satisfying my curiousity.

I currently have plugins for LJ, Vox, Flickr and Dopplr working. If the underlying CPAN modules weren't horked then I'd have Orkut and Gmail too. I'm waiting on some clarification on one of the Jabber modules and then I'll have Jabber Roster support too. And Paul Mison contributed a Twitter plugin. I think del.icio.us, MySpace and FaceBook support will probably be next.

Net::Social doesn't really do anything clever - each plugin defines what parameters it needs passing in to do its work and then exposes a friends() method that returns a list of hash refs which contain information about each of your friends. At the moment the plugins only populate a 'user' field but I can see stuff like 'real_name', 'private', 'mutual' being filled in.

Then, on top of that, I'd build a DB backed Web App which would use Net::Social to populate its tables when the user adds their credentials for each site.

It's all a bit hacky but its been a fun few hours and its exposed the rather parlous state of web API authentication.

I should clean the code up, add some docs and maybe write some coherent thoughts on what I've learnt but for now I'm going to have some hot chocolate and try and wind down in the hope of getting a decent night's sleep tonight.

Wed, Jul. 11th, 2007 10:02 pm (UTC)
blech: delicious

I've knocked off delicious too. Currently I'm trying to figure out the Perl Facebook module and how to do desktop apps; if I can crack that I can use the same techniques to use the richer Flickr people.getList method.

Tue, Oct. 2nd, 2007 01:05 am (UTC)
sunshinenova: Let me ask you something?

You can see lj that are marked private if you want?

Fri, Oct. 5th, 2007 09:05 am (UTC)
deflatermouse: Re: Let me ask you something?

I don't technically work on LJ any more so the simple answer is - no, I can't.

Was there any particular reason you were asking or just idle curiousity? Either way it's probably best to ask the support people.