Have a “apprequests” notification redirect to a website

断了今生、忘了曾经 提交于 2019-12-13 07:58:10

问题


I have the FB request dialog (http://developers.facebook.com/docs/reference/dialogs/requests/) setup so my users can invite friends. Everything is working fine, it sends a notification to the user(s) and all, but I want to have it so that when the recipient clicks the notification or 'jewel' it takes them to my website instead of a FB page/app.


回答1:


At the moment it's not possible to set the redirect uri on a request. The only way to do this is to have a js redirect on you application canvas.

top.location.href='YOUR_SITE'

来源:https://stackoverflow.com/questions/7817843/have-a-apprequests-notification-redirect-to-a-website

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