php - How to get response code from google api oauth2 in controller -
i new codeigniter , php. redirect url given in google api console:
redirect uris: http://localhost/testgmail/index.php/main/gmail_invite
following code shows me request permission page. when click allow access takes me to
http://localhost/testsaav/index.php/main/gmail_invite?code=4/cxd462cen-oebe1gahih90hjqb2x.qpvsg7mg4auxadn_6y0zqngacvlxeai
and gives me error page not found.
how should controller method
function gmail_invites() { $data = $this->input->get('code'); }
Comments
Post a Comment