I want to use deep-linking , for example consider my post url is http://myappsite/api/video/post_id , how can I implement deep-linking using this link. as facebook is doing with this url https://www.facebook.com/page_name/videos/post-id
Question posted in Facebook API
The official documentation for the Facebook APIs can be found here.
The official documentation for the Facebook APIs can be found here.
3
Answers
You need to implement universal links on website and app.
You can also use Branch to help you integrating universal links / deep linking.
You need link you mobile app and website by universal links and than you need parse url inside you ios code and open correct screen
You have to implement Universal linking for acheaving this type of functionality. This would give you a good start .
https://medium.com/@abhimuralidharan/universal-links-in-ios-79c4ee038272
After that, when you click on the link, your application will open and following delegate function called in AppDelegate.
The url.absolutelyString return the url string on which you tapped. Chop out your video_id and open the appropriate ViewController.