I have the following task:

It is necessary to allow the user to post something on the wall at the click of a button on the site and receive a reward for it in return.

It sounds simple, but I ran into the following problem.

For the wall.post method to work correctly, the site application must be installed by the user. Accordingly, the wall.post method wall.post called before the wall.post method. And this is where the problems begin. The browser blocks the pop-up window with wall.post , if you call the method from the login callback. Separately for real clicks everything is fine, but the click, nevertheless, should be one for the task.

Tried to also trigger a click event in many different ways, the result is unchanged. Maybe I'm not looking for the problem and the reason for blocking the pop-up window in another?

  • Attach the code, otherwise everything you told does not make sense - Alexandr Tovmach pm

0