I want to update my status in Facebook & twitter from inside the cocoa application. Is this possible. IF yes how to 开发者_JAVA百科do?
For twitter MGTwitterEngine https://github.com/mattgemmell/MGTwitterEngine
For Facebook use there API https://github.com/facebook/facebook-ios-sdk
In facebook it would be:
$attachment = array('message' => 'message');
$result = $facebook->api('/me/feed/','post',$attachment);
you would have to google for twitter's api.
精彩评论