view intent to post on facebook wall?

how to use Action_view intent to post on facebook wall in android?

I have done facebook sdk integration with my Android app it is working fine for me.

But i want to do it with Action_view intent.


Intent i = new Intent(Intent.ACTION_VIEW);   
i.setData(Uri.parse("http://www.facebook.com/dialog/feed?app_id=YOUR_APP_ID&redirect_uri=REDIRECT_URI");

It works fine for me.

Add your appid and redirected uri to above url.


Please refer to this question: Android and Facebook share intent

The share Intent for Facebook has been broken for quite some time. They still haven't completely fixed it.

链接地址: http://www.djcxy.com/p/10230.html

上一篇: 使用PHP发送带有PDF文件附件的电子邮件

下一篇: 查看意图张贴在Facebook的墙上?