Z
Z
zcoder2019-03-29 11:31:43
Facebook
zcoder, 2019-03-29 11:31:43

How to make authorization in social networks through a native application?

Can I authorize on the site through the installed mobile application?
For example, I go to the site through safari, click to enter, I am transferred to the installed VK or FB application, where I click confirm.
I tried to specify via the link:
For FB:
fbauth://authorize?client_id=xxx&state=307fdd6181a10e43b8603137c9a2fe27&response_type=code&sdk=php-sdk-5.7.0&redirect_uri= https://xxx/fb-callback.php&scope=email%2Cpublic_p...
For VK :
vkauthorize://authorize?client_id=xxx&redirect_uri= https://xxx/vk-callback.php&response_type=code&sco...
The application opens but gives an error that the URL is invalid. In the settings I added to the available ones, it does not help.
Can someone come across this?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question