i am creating an ios Application and want to implement facebook and whats app sharing feature.
i just want to open facebook app if it is installed on device and user can share the post on facebook.
so please give me some advice to do so.
You can open Facebook on iOS using a url.
Use the ShowURL declare sample:
Example Projects/iOS/Declares/ShowURL.xojo_binary_project
With something in this list:
[code]fb://profile Open Facebook app to the users profile
fb://friends Open Facebook app to the friends list
fb://notifications Open Facebook app to the notifications list (NOTE: there appears to be a bug with this URL. The Notifications page opens. However, its not possible to navigate to anywhere else in the Facebook app)
fb://feed Open Facebook app to the News Feed
fb://events Open Facebook app to the Events page
fb://requests Open Facebook app to the Requests list
fb://notes Open Facebook app to the Notes page
fb://albums Open Facebook app to Photo Albums list[/code]
Lifted from https://stackoverflow.com/questions/10416338/open-a-facebook-link-by-native-facebook-app-on-ios