Issue
I'm developing an iOS app with Xamarin, in C#.
I have a "contact" UIViewController
, with some buttons, including Facebook and Twitter.
I need to open the Facebook and Twitter App with a specific Facebook Page and Twitter profile from my app.
What is the best way to do this?
Solution
Try this :
Device.OpenUri(new Uri("fb://page/page_id"));
Device.OpenUri(new Uri("twitter://user?user_id=userid"));
For page_id
right click on page and select view source page and find the page_id
for facebook and same as for twitter find the userid
Answered By - Himanshu Dwivedi
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.