开发者

How to update in twitter & Facebook from the Cocoa Mac application

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜