Generating QR Code to open Facebook page in iOS app

14,930

Solution 1

This can be done easily using Facebook’s internal QR Code function.

Just go to your company’s page and click on Edit Page Info. Scroll down a bit and you will see the QR Code. Facebook QR Code for a Page

Click on the QR Code and it will popup in a new tab or download it. The URL in the QR Code looks something like this: https://facebook.com/qr/<QR_ID> and by scanning the code the encoded URL deep links you in the Facebook App on both IOS and Android devices or in the browser as fallback.

Designer Facebook QR Code

As you can see from the previous screenshot this is a simple black & white QR Code with the Facebook logo in it. To create a designer QR Code with your own colours, forms and frames you can use a designer QR Code Generator by pasting the URL of the QR Code.

Designer QR Code Templates

In the following post I wrote a more detailed description on how to create a deep linking QR Code with your own design: https://blog.qrd.by/2021/02/19/create-facebook-qr-code-with-a-deep-link/

Solution 2

For Android the URL schema is:

fb://page/page_id

For iOS the URL schema is:

fb://page?id=page_id

So with this, I generated "Multi URL Code" at https://app.qr-code-generator.com. When the code is scanned, it first identifies the OS of the device and then executes the appropriate URL. If user scans the code in any of the other devices (other than Android and iOS), then it opens https://www.facebook.com/yourpagename in browser.

Note: page_id for your Facebook page is found under About>Page Info.

Share:
14,930
Prashanth Yeredukeremath
Author by

Prashanth Yeredukeremath

Updated on June 14, 2022

Comments

  • Prashanth Yeredukeremath
    Prashanth Yeredukeremath almost 2 years

    I'm trying to generate a QR code which should open the facebook app installed in the phone and automatically navigate to my page.

    I used http://www.qr-code-generator.com to generate the QR code pointing to URL

    fb://page/< page-id >
    .Scanning this code works perfect on Android, but fails on iOS. I even tried

    fb://profile/< page-id >
    but same result on iOS.

    How do I generate a QR code which works as expected on both the platform?