[hackerspaces] web bots or more?

Jarkko Moilanen Jarkko.Moilanen at uta.fi
Mon Mar 22 17:16:52 CET 2010


Quoting Jon Spriggs <jon at spriggs.org.uk>:

> On Mon, Mar 22, 2010 at 2:53 PM, Jarkko Moilanen  
> <Jarkko.Moilanen at uta.fi> wrote:
>> Quoting Bryan Bishop <kanzure at gmail.com>:
>>> On Mon, Mar 22, 2010 at 2:18 AM, cristian paul peñaranda rojas wrote:
>>>> I'm asking for suguestions about bots that can help on hackerspace irc
>>>> and microblgging services,
>>>> and surelly could be interface with arduino related hardware?
>> Well about microblogging. I have modified an existing ircbot to include
>> features which allow (restricted) us to post links and wallposts to our
>> Facebook group page from irc channel (#5w). It uses fbcmd cli api.  It isn't
>> the most mind-blowing to use but it works :)
>
> I'd be interested in seeing the code behind posting to FB.
>
> For posting to any of the Twitter-Like APIs (Twitter.com, StatusNet,
> identi.ca etc) I've got some code in PHP I wrote for another project
> which provides a class for sending and receiving messages:
>

My little bot stuff isn't fancy and definitely not so called  
production code. It's a mess but if someone wants to look at it, you  
can download tar package (which probably includes unnecessary files  
too) from:
http://5w.fi/~kyber/fb-bot/fb-bot.tar

The bot is modified from bitchbot (bitch.pl). You must create a  
profile in the Facebook through which the bot posts stuff to facebook.  
In Facebook you have to add an application to group. If I remember  
correct the app was fbcmd. There's some other stuff (settings and  
other) that needs to be done before the FBCMD api can post to group  
page. You should take a look at:
http://www.facebook.com/apps/application.php?id=42463270450

A little details about FB related stuff of the bot code is here:
http://piratepad.net/IZ3YzWPKXu

Sorry about the comments in the (mess)code that they are in Finnish.



****************************
  Jarkko Moilanen (phone: +358 46 640 8339)
  M.Soc.Sc. (Political Science)
  Blog: Extreme activities in cyberspace - http://extreme.ajatukseni.net/
  -------------------------
  Founder of Hackerspace 5w, Finland, Tampere - 5w.fi
****************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-keys
Size: 1312 bytes
Desc: Julkinen PGP-avain
URL: <http://lists.hackerspaces.org/pipermail/discuss/attachments/20100322/2a808faf/attachment-0001.key>


More information about the Discuss mailing list