Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lucaslarroche/facebook-deep-linking
Redirect Facebook web links to Facebook App on iOS and Android
https://github.com/lucaslarroche/facebook-deep-linking
deep-linking deep-links facebook url-scheme
Last synced: about 1 month ago
JSON representation
Redirect Facebook web links to Facebook App on iOS and Android
- Host: GitHub
- URL: https://github.com/lucaslarroche/facebook-deep-linking
- Owner: lucaslarroche
- License: mit
- Created: 2019-09-17T03:26:48.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-18T03:01:54.000Z (about 5 years ago)
- Last Synced: 2024-03-09T09:23:27.107Z (8 months ago)
- Topics: deep-linking, deep-links, facebook, url-scheme
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Facebook deep linker
Lightweight JavaScript module to **redirect Facebook web links to Facebook App on iOS and Android**, as it should be! Work for Pages, Groups and Profiles links.
## Why?
Unlike links to Facebook Messenger, Facebook links to Pages, Groups and Profiles are not deep linked to Facebook App on mobile devices 😡.## Usage
Work without package manager or dependencies 🙂!### Link the JavaScript:
```html```
### Add the Facebook ID to your Facebook links:
```html
My Facebook Link
```You can find your Facebook ID here: [Facebook Profile ID](https://www.facebook.com/help/1397933243846983), [Facebook Page ID](https://www.facebook.com/help/1503421039731588), or on this [third party website](https://findmyfbid.com/).
### Examples:
```html
GitHub Facebook Page
Facebook Developer Group
Mark Zuckerberg Profile
```
This links should open inside Facebook App on iOS and Android.## Disclaimer
Apps URL scheme (deep links) changes regularly. It is possible that this JavaScript module no longer work on iOS or Android in a few months.## Support
Tested and working for Pages, Groups and Profiles in:
- Chrome 76 for Android, iOS and macOS
- Safari 12 for macOS and iOS 12