We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

Facebook OAuth callback

Hello,

Facebook OAuth callback is something like https://example.com/oauth/facebook/callback.php?id=34592398472893742.

Since Phalcon doesn't use query parameters, how can I setup a controller route for the Facebook OAuth callback?



40.8k
Accepted
answer

Why you say that phalcon doesn't use query paramters? Can't you use $_GET['id'] ? Can't you get $this->request->getQuery("id") ? or better $this->request->getQuery("id","int") with sanitizing filter?