Facebook Application Tab -> External Linking with PHP

后端 未结 4 787
失恋的感觉
失恋的感觉 2021-02-01 07:58

I currently have an Application on the Facebook Tab, and am wondering if there is a way for me to deep link into an item on that app tab. Example:

User is in the applic

4条回答
  •  星月不相逢
    2021-02-01 08:11

    Perhaps.

    For Application Canvas Pages, Facebook forwards any addition URI information to your canvas callback.

    For example, if your app page is http://apps.facebook.com/testapp

    and your canvas callback is http://facebook.example.com/testapp/canvas

    Then going to http://apps.facebook.com/testapp/foo?bar=baz would result in facebook's servers hitting yours like so http://facebook.example.com/testapp/canvas/foo?bar=baz.

    I've never tested it to see if application tabs share this behavior, but it's worth a shot. If so, you could just use URI information to drive your deeplinking.

    Also, you should be aware of the impending changes to application tabs.

提交回复
热议问题