Facebook请求2.0,如何更改“接受”按钮网址成为Facebook以外的网址? [英] Facebook requests 2.0 , how to change "Accept" button url to be a url outside of facebook?

查看:135
本文介绍了Facebook请求2.0,如何更改“接受”按钮网址成为Facebook以外的网址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序位于Facebook画布的外面。
Facebook请求对话框2.0只重定向到canvas url
eg。 apps.ibibo.com/YOURAPP
如何让它打开一个自定义的URL?
这是可能的传统FBML表单与 fb:request-form 并设置 req-url 。 / p>

请求2.0仅限于facebook URLS内?
我的要求是发送游戏请求,但我的游戏位于Facebook之外。
即点击ACCEPT打开的网址应该是



(仅适用于canvas url重定向)



我想到了一种解决方法:
用户点击ACCEPT画布网址,从画布网址,我将他重定向到我的网页外面。但我不知道是否符合Facebook政策? (这里提到的第一段第4点: http://developers.facebook.com/blog/

解决方案

不幸的是,接受按钮现在将永远带你到应用页面,你看到没有现在要走到其他地方。您必须从画布页面重定向它们。不过,我并不认为这是针对Facebook政策的,因为Facebook的请求最初可以从Facebook外部使用iframe插件发送。如果您想要将外部网址放入接受按钮,我将会记录功能请求与Facebook。


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 url ? This was possible in legacy FBML form with fb:request-form and setting req-url .

Are requests 2.0 restricted only to inside facebook URLS ? My requirement is to send game requests,but my game sits outside facebook. i.e. on clicking "ACCEPT" the url to open should be

"http://www.mydomain.com/mygame" and not

"http://apps.facebook.com/mygame" .

These methods do not seem to fit my requirement : http://developers.facebook.com/docs/reference/dialogs/requests/ ( only canvas url redirection )

I thought of one workaround as : The user clicks on "ACCEPT" and comes to the canvas url, and from the canvas url, I redirect him to my url outside facebook. But I am not sure if that is compliant with facebook policy ? ( mentioned here in point#4 of first paragraph : http://developers.facebook.com/blog/ )

解决方案

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.

这篇关于Facebook请求2.0,如何更改“接受”按钮网址成为Facebook以外的网址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆