Facebook PHP SDK: getUser returns 0 on first call
The problem: a facebook login doesn’t always work. Although the user has authenticated the app, getUser returns 0. So, the user clicks a LOGIN button and is being redirected to $facebook->getLoginUrl. Facebook forces the user to authenticate the app and […]