Saturday, October 23, 2010

Connecting Bitlbee to your own StatusNet

If you want to connect Bitlbee to a private or personal StatusNet (Identica) service, one that doesn't have fancy URLs turned on, you may have notice that the following doesn't work (where "2" is the account id for the account created by the first line):

  account add twitter yourname yourpass
  account 2 set base_url http://yourserver/api
  account 2 set mode chat
  account 2 set oauth false
  account 2 on

The problem is that, if fancy URLs aren't enabled, the API line is incorrect.  The fix is use of a slightly different syntax:

  account 2 set base_url http://yourserver/index.php/api

Enjoy!