Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to use Action_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.

like image 860
Dipali Avatar asked Dec 13 '11 06:12

Dipali


1 Answers

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.

like image 50
Dipali Avatar answered Oct 05 '22 13:10

Dipali