Facebook apps redirecting “via {APP_NAME}” to an existing pages

蹲街弑〆低调 提交于 2019-12-01 11:21:18

Link with text "via Application Name" that appear aside of stories published by applications lead to:

  • Application Canvas URL - if Application have Canvas URL configured in application settings
  • Application Site URL - if Application have Site (but not Canvas) URL configured
  • Application Profile Page - if Application have regular Facebook Page associated with application and doesn't have Canvas URL specified in application settings
  • Application Page - if neither Page associated with Application or Canvas/Site URL is defined

You cannot make this link to point to completely different URL.

If you still need a redirection to resource other than outlined above you can configure Application Site/Canvas URL and do redirection from there once users land to your Application with fb_source parameter specified.

fb_source may contain different values so you can decide if you want to do a redirection, it's not documented in complete way but there are some examples:

Like Button documentation:

fb_source - the stream type ('home', 'profile', 'search', 'ticker', 'tickerdialog' or 'other') in which the click occurred and the story type ('oneline' or 'multiline'), concatenated with an underscore.

Send Button documentation:

fb_source - the story type ('message', 'group', 'email') in which the click occurred.

fb_source may be also feed (and probably more values that documented elsewhere or not documented at all).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!