Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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