Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

server: Add vk posts #351

Open
sea-kg opened this issue Mar 28, 2021 · 0 comments
Open

server: Add vk posts #351

sea-kg opened this issue Mar 28, 2021 · 0 comments
Assignees

Comments

@sea-kg
Copy link
Member

sea-kg commented Mar 28, 2021

Like this:

https://vk.com/dev/wall.post

import requests

# https://vk.com/dev/wall.post

_base_url = "https://api.vk.com/method/"
data = {
    "access_token": "*****",
    "owner_id": -162771601,
    "friends_only": 0,
    "v": "5.130",
    "guid": "0205fff7-0b49-4cb2-ada7-e302e7846484",
    "message": "Test",
    # "copyright": ""
}

r = requests.get(_base_url + "/wall.post", params=data)

print(r)
@sea-kg sea-kg self-assigned this Mar 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant