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?
Select the App Store distribution channel. Select your signing identity and provisioning profile. Click Upload to Store. Enter your Apple ID and an app-specific password.
Xamarin. iOS allows developers to create native iOS applications using the same UI controls that are available in Objective-C and Xcode, except with the flexibility and elegance of a modern language (C#), the power of the .
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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With