A
A
alex stephen2014-12-10 11:58:55
PHP
alex stephen, 2014-12-10 11:58:55

Why doesn't the Odnoklassniki API give the required rights?

Hello everybody.
I need to connect to OKapi using oAuth 2.0 in PHP. To begin with, I used this class , rewriting the parameters for classmates. Then I used the official PHP SDK . Then I tried this code
scope=VALUABLE_ACCESS ... I wrote it everywhere
The problem is that instead of the required one,
81a9350b9f224c02bb0c73e2d937a38a.png
I always get it
87dfadb4d3cd49e788c660296eb82387.PNG
with my logo and data.
When you click on "Login" it redirects to redirect_uri?code=CODE (as it should be), but it gives only a white screen without errors and notices.
CHADNT?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alex stephen, 2014-12-10
@berezuev

Hang up. The official PHP SDK works. I just reconfigured it from scratch and the problem went away.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question