通过ACTION_SEND在Facebook上分享文字的Android应用程序
我有一个Android应用程序,它支持通过其他应用程序发送文本。因此它使用ACTION_SEND意图和EXTRA_TEXT字段。选择器presents我,可以处理这种意图的所有应用程序。这些都是微博,电子邮件,......和Facebook。但是,当我选择的Facebook将打开浏览器,进入以下页面:
I have an Android app and it supports sending text via other apps. It therefore uses the ACTION_SEND intent and the EXTRA_TEXT field. The chooser presents me with all apps that can handle such an intent. Those are Twitter, EMail, ... and Facebook. But when I select Facebook it opens the browser and goes to the following page:
http://m.facebook.com/sharer.php?u=mytext
这说明我的文字和提交按钮。但是,当我preSS提交按钮没有happends。该页面只是再次加载。 我想,也许这是唯一可以通过Facebook应用程序发送URL。可能?
It shows my text and the submit button. But when I press the submit button nothing happends. The page just loads again. I think maybe it is only possible to send URLs via the Facebook App. Could that be?
有没有人管理,通过ACTION_SEND通过Facebook的Android应用程序发送的文字?
Did anyone manage to send text via ACTION_SEND through the Facebook Android app?
编辑:与官方的Facebook应用程序的Android版(2011年7月14日),新版本的 IT WORKS!
EDITED: with the new release of the official Facebook app for Android (July 14 2011) IT WORKS!!!
OLD:上面的例子,如果用户选择了Facebook应用程序共享不工作,但他们的工作,如果用户选择Seesmic的应用程序发布到Facebook。我想Seesmic的有一个更好的实现Facebook的API比Facebook的!
OLD: The examples above do not work if the user chooses the Facebook app for sharing, but they do work if the user chooses the Seesmic app to post to Facebook. I guess Seesmic have a better implementation of the Facebook API than Facebook!