[英]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. 我想从可可应用程序内部更新我在Facebook和Twitter中的状态。 Is this possible.
这可能吗。 IF yes how to do?
如果是,该怎么办?
For twitter MGTwitterEngine https://github.com/mattgemmell/MGTwitterEngine 对于Twitter MGTwitterEngine https://github.com/mattgemmell/MGTwitterEngine
For Facebook use there API https://github.com/facebook/facebook-ios-sdk 对于Facebook使用API https://github.com/facebook/facebook-ios-sdk
In facebook it would be: 在facebook中将是:
$attachment = array('message' => 'message');
$result = $facebook->api('/me/feed/','post',$attachment);
you would have to google for twitter's api. 您将必须通过Google搜索Twitter的api。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.