Answer the question
In order to leave comments, you need to log in
How to get access rights to the user's wall?
When creating an authorization window with a url below
https://oauth.vk.com/authorize?
client_id=123456&
scope=friends,wall,status&
redirect_uri=MY_URI&
display=page&
v=5,1&
response_type=code Wall
access is missing from the permissions list .
If you specify redirect_uri= https://oauth.vk.com/blank.html , then Access to the wall appears, but then I can't get the code value
The application was created as a Standalone/Mobile application , perhaps this is my cant, or not I am creating an application.
Answer the question
In order to leave comments, you need to log in
It was possible to solve it only through the administration of Vkontakte.
What does access to the wall mean? Access only after exchanging the code for a token can be. client_id - application id?
strange. I received code in both cases. It is displayed in the address bar.
But I don't understand why it requires you to confirm the permission in the browser every time? Tokens are far from eternal and they need to be updated. And without confirmation in the browser it will not work.
Was the problem solved?
Here's an anomaly I've noticed. Coub.com has an app: app3460021 is a connected site, but it can post. You can reproduce the effect like this: create a video, check the [VK] checkbox and publish it. After processing the video within a minute, a link will appear on the wall and videos, even if you leave the site. Those. The publish request originates from the server. In neighboring branches, people talk about similar behavior of sites such as: seedr.ru and altergeo.ru.
I suppose the developer pulls the token from the inside of the Open API and passes it to the backend.
I am also indignant at the lack of information on this topic.
in order to know in which city these Petrovs live, you must either have Cities directly in People, or some kind of City id, by which People can be joined with Cities.
suppose there is such a field (idSity). Then you get something like:
SELECT count(*), City.City FROM People inner join City
ON People.idSity = City.idSity
WHERE People.LastName="Petrov";
GROUP BY City.City
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question