Difference between revisions of "PresenceRouter"

From rukapedia
Jump to: navigation, search
Line 24: Line 24:
  
 
No external methods currently supported for status message update, but [http://www.nexdot.net/blog/2007/04/20/updating-facebook-status-using-php/ see this handy hack] for a way of doing this through the mobile method.
 
No external methods currently supported for status message update, but [http://www.nexdot.net/blog/2007/04/20/updating-facebook-status-using-php/ see this handy hack] for a way of doing this through the mobile method.
 +
 +
Example of the HTML that needs to be parsed to grab the "post_form_id" are:
 +
 +
<pre>
 +
name="post_form_id" value="bbbeb01a1abceb828a31a5208840bfdd" />Peter is short diversion to release updated PresenceRouter at Reinvented Office in Charlottetown, PE, Canada.&nbsp;<small>(1m ago)</small>
 +
</pre>
 +
 +
<pre>
 +
name="post_form_id" value="3ee270e046ec1ec8a709324ea4c17598" />Keep your friends up to date on your current status.<br /><small>Tijs is:</small><br /><input type="text" name="status" size="10" /><br /><input type="submit" name="update" value="Update" class="button" /></form></div>
 +
</pre>
  
 
==Adium==
 
==Adium==
  
 
See [http://ruk.ca/wiki/PlazesAdium this code] as a starting point (uses ye olde Plazes).
 
See [http://ruk.ca/wiki/PlazesAdium this code] as a starting point (uses ye olde Plazes).

Revision as of 10:48, 27 July 2007

A tentative project to build a desktop client that will let me route my presence information -- from Plazes and elsewhere -- to different web sites and services.

Jaiku

API Documentation

POST to http://api.jaiku.com/json:

  • personal_key (get from api.jaiku.com
  • method = message (140 character limit)
  • location = location string as Neighbourhood, City, Country (optional)

Twitter

API Documentation

POST to http://twitter.com/statuses/update.json:

  • status (160 character hard limit; 140 characters recommended)

Use HTTP Basic Authentication, passing regular Twitter username and password.

Facebook

No external methods currently supported for status message update, but see this handy hack for a way of doing this through the mobile method.

Example of the HTML that needs to be parsed to grab the "post_form_id" are:

name="post_form_id" value="bbbeb01a1abceb828a31a5208840bfdd" />Peter is short diversion to release updated PresenceRouter at Reinvented Office in Charlottetown, PE, Canada. <small>(1m ago)</small>
name="post_form_id" value="3ee270e046ec1ec8a709324ea4c17598" />Keep your friends up to date on your current status.<br /><small>Tijs is:</small><br /><input type="text" name="status" size="10" /><br /><input type="submit" name="update" value="Update" class="button" /></form></div>

Adium

See this code as a starting point (uses ye olde Plazes).