Refactor the Google sna callback since the Facebook one is almost the same