开发者

GAE JSP and Facebook-api-java iframe fb_sig_* param

开发者 https://www.devze.com 2022-12-15 14:23 出处:网络
I am building facebook app using iFrame (using Google App Engine Java,JSP and Facebook-api-java), and when Facebook calls back to 开发者_Go百科my website, I expect to get the fb_sig_* request params f

I am building facebook app using iFrame (using Google App Engine Java,JSP and Facebook-api-java), and when Facebook calls back to 开发者_Go百科my website, I expect to get the fb_sig_* request params for the iFrame, but I get those params in HTTP referer header instead.

When I use the php client, i get the fb_sig_* in the $[_GET] as expected.

What have I done wrong?

Thanks


If you get them in the referrer, then it means that a redirect has taken place. If this is not the expected behaviour by Facebook, then you need to ensure that you don't have some Servlet or Filter in the request chain which redirects requests using HttpServletResponse#sendRedirect() for some reason.

0

精彩评论

暂无评论...
验证码 换一张
取 消