【问题标题】:How to update in twitter & Facebook from the Cocoa Mac application如何从 Cocoa Mac 应用程序更新 twitter 和 Facebook
【发布时间】:2011-08-11 08:49:21
【问题描述】:

我想从 cocoa 应用程序中更新我在 Facebook 和 twitter 中的状态。 这可能吗。如果是怎么办?

【问题讨论】:

  • 你用谷歌搜索过你的问题吗? Google 总是返回一些东西。

标签: objective-c cocoa facebook macos twitter


【解决方案1】:

对于推特 MGTwitterEngine https://github.com/mattgemmell/MGTwitterEngine

对于 Facebook 使用那里的 API https://github.com/facebook/facebook-ios-sdk

【讨论】:

  • 他说的是 Cocoa/MacOS 而不是 CocoaTouch/iOS
【解决方案2】:

在 facebook 中会是:

$attachment = array('message' => 'message');
$result = $facebook->api('/me/feed/','post',$attachment);

您必须在谷歌上搜索 twitter 的 api。

【讨论】:

  • 那是什么语言?该问题被标记为“Cocoa”和“Objective-C”。
猜你喜欢
  • 2012-02-03
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2011-07-15
相关资源
最近更新 更多