Anyone want to dig around in http://static.ak.facebook.com/js/statuspro.js?12:52414 looking for submitStatus() and /updatestatus.php

There is a route to updating Status remotely. Using cUrl and PHP
1) Login to Facebook, grab the cookies and store them
2) Switch to the mobile Facebook interface
3) Grab post_form_id from the form on the mobile home page using regex (be careful with regex pattern greediness)
4) Post the Form with curl_setopt($ch, CURLOPT_POSTFIELDS,'post_form_id='.$form_id[1].'&status='.urlencode($status).'&update=Update');

The problem is that logging in from there logs you out in your browser which is really naff.

Come on Facebook. Make this easier for us.



[ << The workaround that pipes Facebook status entries into a Twitter feed ] [ Cory on DRM >> ]
[ 14-Aug-07 6:23pm ] [ ]