今天,当我的重定向URI有一个哈希字符串时,我的应用程序在Facebook oauth上开始失败。直到昨天才奏效。这个场景:
在重定向到Facebook的网址:
Facebook回复我:www.facebook.com/dialog/oauth?client_id=441044735940116&redirect_uri=http%3A%2F%2Fwww.myapp.com%2Fpt%2Fregister.html%23JA4BqoGbVnvw1OXky%7CMCwCCd6buzlvyTY9sg4JMzyQtJp9YLz8AhRNwKnj5G2dmIymLw4UK1ouSB9S0w%3D%3D&scope=email,user_birthday ,USER_LOCATION&安培; RESPONSE_TYPE =记号
www.myapp.com/pt/register.html#access_token=BAAGRILrQ1hQBAP80ZCpK8p0d24e50tqoR8ZAR8nwhAfSYXN5U0h888ILWzpOYUM7lEYtUdbNU4hRm06t7ABBdZCMsiY7JgEqDPB9SImj7QOSAcsbJmOW3u652CyOhqvO9O7O1qdxYH8ANPuA9USEpC7ThyLCJXocxZB3c7bZB186JHhwbKeesRfOyPDXSaGQiqEwQbpDiF8MBi0jBgLD4&expires_in=6462
何时返回:
www.myapp.com/pt/register.html#JA4BqoGbVnvw1OXky|CMCwCCd6buzlvyTY9sg4JMzyQtJp9YLz8AhRNwKnj5G2dmIymLw4UK1ouSB9S0w ==&安培; =的access_token&BAAGRILrQ1hQBAP80ZCpK8p0d24e50tqoR8ZAR8nwhAfSYXN5U0h888ILWzpOYUM7lEYtUdbNU4hRm06t7ABBdZCMsiY7JgEqDPB9SImj7QOSAcsbJmOW3u652CyOhqvO9O7O1qdxYH8ANPuA9USEpC7ThyLCJXocxZB3c7bZB186JHhwbKeesRfOyPDXSaGQiqEwQbpDiF8MBi0jBgLD4放大器; expires_in = 6462
基本上Facebook oauth并没有把我的哈希发回给我。谁知道为什么?
它与下面的问题有关吗?