通过ACTION_SEND在Facebook上分享文字的Andr​​oid应用程序 [英] Share Text on Facebook from Android App via ACTION_SEND

查看:161
本文介绍了通过ACTION_SEND在Facebook上分享文字的Andr​​oid应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个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的Andr​​oid应用程序发送的文字?

Did anyone manage to send text via ACTION_SEND through the Facebook Android app?

推荐答案

编辑:与官方的Facebook应用程序的Andr​​oid版(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!

这篇关于通过ACTION_SEND在Facebook上分享文字的Andr​​oid应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆