Although this thread is outdated, but hope this can help someone else. I saw some people solve the problem by adding javascript code to the redirected page to remove # _ = _ from the location.
However, this is ugly for me. There is another way to solve this problem from the source. You can make your redirect URL contain your own # anchor so that it rewrites the # _ = _ added to facebook. For example, this is my Laravel handleProviderCallback:
public function handleProviderCallback() { $user = Socialize::with('facebook')->user();
source share