B
B
brobrabri2021-12-29 14:36:53
Bots
brobrabri, 2021-12-29 14:36:53

Api vk not working when loading telegram bot on heroku?

When loading a telegram bot on heroku, api vk does not work, the bot must parse the page that the user throws and give out a photo, first name, last name. When running the bot on the PC, everything works, if you run it from heroku, then everything starts but the parser does not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WP Panda, 2015-09-03
@wppanda5

if ( ! is_user_logged_in() ) {
    wp_redirect(home_url(/my-account/) ,303);
    exit;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question