Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

barbie (2653)

barbie
  reversethis-{ku. ... m} {ta} {eibrab}
http://barbie.missbarbell.co.uk/

Leader of Birmingham.pm [pm.org] and a CPAN author [cpan.org]. Co-organised YAPC::Europe in 2006 and the 2009 QA Hackathon, responsible for the YAPC Conference Surveys [yapc-surveys.org] and the QA Hackathon [qa-hackathon.org] websites. Also the current caretaker for the CPAN Testers websites and data stores.

If you really want to find out more, buy me a Guinness ;)

Links:
Memoirs of a Roadie [missbarbell.co.uk]
[pm.org]
CPAN Testers Reports [cpantesters.org]
YAPC Conference Surveys [yapc-surveys.org]
QA Hackathon [qa-hackathon.org]

Journal of barbie (2653)

Monday February 16, 2009
07:25 AM

Welcome To Maisha

[ #38490 ]

After the last few weeks of trying to access Twitter from the command line, I set about writing something that I could expand to micro-blog to any social networking site that supports many of the Twitter API type commands. At the moment it only works with Twitter and Identi.ca, but my plan is to look at creating plugins, or more likely to allow others to create plugins, that can enable the tool to interact with other micro-blogging sites.

After trying to think of a decent name, I finally settled on Maisha. It's a Swahili word meaning "life". You can grab the code from CPAN as App-Maisha.

Currently you'll need to use the standard Perl install toolset to install the application, but ultimately I'd like to have something that you can install just about anywhere without having to go through all the headache of installing dependencies. I'll have a go at doing an .rpm and a .deb package release, and will also try using PAR. It would be nice to have this as a standalone application that just about anyone can use, but for now CPAN will have to do.

My next immediate step is to look at writing something that interfaces to Facebook without requiring a developer key or any such nonsense. It will probably have to involve a bit of screen scraping, unless there is some more official API, but as yet I haven't found it. Everything regards Facebook applications seems to centre around the developer application that can do all sorts of dubious things, but mine is purely for the user to control from their desktop, not a 3rd party website/server. Thus giving them a developer API key assigned to me is wholly inappropriate. It would be nice if they had a restricted User API, which allows you to update your status and look at your friends' statuses, but I think I'll be in the minority wanting it.

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • When looking at making a .deb, considering working with the debian-perl group (http://pkg-perl.alioth.debian.org/) as we have a group of people who can upload it to the debian repository and try to keep it up-to-date as you release new versions.

    • I probably will eventually, but wanted to "have a go" for myself first. A friend from Gloucestershire LUG gave a presentation about creating .deb's and uploading them to LaunchPad, and thought this might be a good experiment to see how that works :)

  • Sounds interesting. I'll create RPMs for Centos and Fedora and stick them in my RPM repository [mag-sol.com].

    • Thanks :) I'll sort out a link to those too for the website once it's ready ;)

      • Ok, the Fedora 10 [mag-sol.com] and Centos 5 [mag-sol.com] RPMs are available (along with a few dependencies that weren't in the standard repositories).

        The easiest method to get them is probably to add my repo definition files (for Fedora [mag-sol.com] and Centos [mag-sol.com]) to your yum configuration and then just run:

        yum install perl-App-Maisha

        • Great, thanks. I'll add this to the downloads page. Currently working on the website now :)

  • WWW::Facebook::API also supports the Facebook desktop api:

    http://wiki.developers.facebook.com/index.php/Login_Desktop_App [facebook.com]

    http://cpansearch.perl.org/src/CLSCOTT/WWW-Facebook-API-0.4.14/examples/facebook -desktop-json [perl.org]

    I don't have any experience with the desktop apps but as the maintainer of WWW::Facebook::API I can help you out and roll any patches out quickly.

    • I did briefly look at WWW-Facebook-API, but it requires the API key. The problem is that Facebook, like other similar API developers, assume that only compiled languages would ever want to access them from user-space. If you want to use a language like Perl you have to hide behind your own server, so you can hide the API key :(

      Hence why I hope they eventually acknowledge a restricted User API that the user can have control over.