[Bugfix] fix incoming redirects from facebook app center

Replaces #452.