Facebook requests 2.0 , how to change “Accept” button url to be a url outside of facebook?

前端 未结 2 1454
囚心锁ツ
囚心锁ツ 2021-01-12 20:39

My app sits outside facebook canvas. The facebook request dialog 2.0 only redirects to canvas url eg. apps.ibibo.com/YOURAPP. How can I make it open a custom ur

2条回答
  •  天命终不由人
    2021-01-12 20:55

    Unfortunately the accept button right now will always take you to the application page as you are seeing and there is no way right now to have it go elsewhere. You would have to redirect them from the canvas page. However, I don't see this as being against the Facebook policy though as Facebook requests can be originally sent from outside of Facebook using the iframe plugin. If you wanted to be able to put in an outside url for the accept button, I would log a feature request with Facebook.

提交回复
热议问题