P
P
pruha192018-11-23 14:11:10
Python
pruha19, 2018-11-23 14:11:10

How to make a VKontakte bot using geolocation?

As soon as the person sends the location to the group's LAN, the bot will write the latitude and longitude into the variables latitude (latitude) and longitude (longitude) . Next, I will do what I need.
Here's how to do it? Help me please :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alex F, 2018-11-25
@delvin-fil

Something like this:

def get_vk(latitude, longitude, distance, min_timestamp, max_timestamp, getProfiles):
    get_request =  '/method/photos.search?lat=' + location_latitude
    get_request += '&long=' + location_longitude
    get_request += '&count=100'
    get_request += '&radius=' + distance

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question