title: How to Invite Friends From Facebook to Android app ? - Gives Error
body: <p>I am working on an Android App. I am working to add "Invite Friend" feature to my app. It goes to my <code>AppLinkUrl</code> successfully but Show an Error.</p>
  
  <p>My Manifest code is as below-</p>
  
  <pre><code>&lt;!--Abhishek Tandon FB invitation Code--&gt;
          &lt;intent-filter&gt;
              &lt;action android:name="android.intent.action.VIEW" /&gt;
              &lt;category android:name="android.intent.category.DEFAULT" /&gt;
              &lt;category android:name="android.intent.category.BROWSABLE" /&gt;
  
              &lt;data android:scheme="com.tandon.mynewsapp//https://my_fb_url_here" /&gt;
          &lt;/intent-filter&gt;
  </code></pre>
  
  <p>And below is my Code for InviteFriend Activity-</p>
  
  <pre><code>//Abhishek Tanodn FB code for InviteFriend Activity
          FacebookSdk.sdkInitialize(getApplicationContext());
          Uri targetUrl = AppLinks.getTargetUrlFromInboundIntent(this, getIntent());
          if (targetUrl != null) {
              Log.i("Activity", "App Link Target URL: " + targetUrl.toString());
  </code></pre>
  
  <p>When I run this app I am redirected to Facebook page but I cannot see anything related to my app. </p>
  
  <p><a href="https://i.stack.imgur.com/z8JF3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/z8JF3.png" alt="I got error that page is not available"></a></p>
  
  <p>Please let me know where am I doing wrong.</p>
  
  <p>OR Please tell me the right way to invite friend from Facebook to my Existing Android app.</p>
  
  <p>Thank you !</p>