I found the problem. It's not code related. It seems to be a bug in the latest two versions of Facebook SDK so I downgraded it to
Lee mas