Facebook Callback appends '#_=_' to Return URL

前端 未结 23 1750
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-11-22 14:56

Facebook callback has started appending #_=_ hash underscore to the Return URL

Does anyone know why? What is the solution?

23条回答
  •  失恋的感觉
    2020-11-22 15:16

    Not sure why they're doing this but, you could get around this by reseting the hash at the top of your page:

    if (window.location.hash == "#_=_")
      window.location.hash = "";
    

提交回复
热议问题