发表在Android的Facebook的墙? [英] Post on facebook wall in android?

查看:254
本文介绍了发表在Android的Facebook的墙?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Android的图库在电话那边是将图像分享 Facebook和它张贴在墙壁上的一个选项。我想的发布的消息或者在完全相似的方式从我app.How墙上的图像可以这样做?

In the Android Gallery in the phone there is an option to share the image to facebook and post it on the wall.I want to post a message or an image on to the wall in the exactly similar way from my app.How can this be done?

我的理解:我相信,它使用Facebook的应用程序已经present在我phone.If是这样的话,那么我就可以启动特定的活动或者抛出相应的从该活动的意图我app.If这种情况下有人可以让我知道什么是在相应的意图我应该扔。什么是我应该传递的意图,以及在什么键名应的参数我把这些参数传递?

My understanding:I believe that it uses facebook app already present in my phone.If that's the case then i can start that particular activity or throw an intent corresponding to that activity from my app.If this is the case can someone let me know what is the corresponding intent that i should be throwing.What are the parameters that i should be passing in the intent and under what keyname should i pass these parameters?

纠正我,如果我的理解是错误的,让我知道如何可以做到这一点。

Correct me if my understanding is wrong and let me know how this can be done.

P.S :我一直都在按照这个美好的岗位使用Facebook SDK <一个href=\"http://stackoverflow.com/questions/2953146/android-java-post-simple-text-to-facebook-wall\">Android/Java - ?张贴简单的文本的Facebook墙上并works.But对话框别看good.That为什么我要寻找一个不同的选项

P.S:I have been using the facebook sdk according to this wonderful post Android/Java -- Post simple text to Facebook wall? and it works.But the dialogs don't look that good.That's why i am looking for a different option.

感谢

推荐答案

我认为你正在寻找ACTION_SEND意图。

I think you are looking for the ACTION_SEND intent.

请参阅这个帖子

编辑:和其DOC

第二个编辑:请注意,如果人不具备的Facebook应用程序,他将无法分享。如果您使用 Facebook的API ,那么他将能够分享到Facebook,但只有Facebook的。

Second edit: note that if the guy does not have the Facebook app, he won't be able to share. If you use the Facebook API, then he will be able to share to facebook, but facebook only.

这篇关于发表在Android的Facebook的墙?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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