How to open facebook app user-timeline page for a specific id from my android app? -


i trying open facebook app specific user profile. code opening facebook intent:

 try{             toast.maketext(getactivity().getapplicationcontext(),                      facebook_id,                      toast.length_short).show();              intent intent = new intent(intent.action_view, uri.parse("fb://profile/" + facebook_id));             startactivity(intent);              }catch(exception e){              startactivity(new intent(intent.action_view, uri.parse("http://www.facebook.com/usernamepage")));             } 

this how received user_id:

user.getid(); 

(the user graphuser object facebook sdk) correct way user id , use openning inetnt? because not worked me.

if using graph api 2.x, user id have app-scoped user id, , there's no support getting user profile app-scoped id in facebook app.


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -