GithubHelp home page GithubHelp logo

web_project's Introduction

Configuration tutorial:
  1. Register on Vkontakte www.vk.com and create a group if you haven't already

  2. Create your web-app:

    a) Go to www.vk.com/dev and click on "My Apps"

    b) Click "Create app"

    c) Choose "Website", enter a title, Website address, Base domain. You can change them later

    d) And click "Connect website"

    Creation

  3. Go to "Settings". You will need the info here to set up the program

  4. Open "config.py";

    a) Copy "App ID" and paste it into CLIENT_ID in the config file

    b) Copy "Secure key" and paste it into SECRET_KEY

    c) Copy "Service token" and paste it into ACCESS_TOKEN

    Configuration

  5. Then you need to find the page's ID, copy it and paste into VK_GROUP_ID (include the minus before the digits)

    Everything else will be set up automatically

  6. Host the app to get the URL address;

  7. Copy the URL // ex: https://yoursite.com. Paste it into Website address in App/Settings (VKontakte app). Paste it into Base domain omitting 'https://' or 'http://'. Save the changes

    Getting the URL

  8. Go to your group's settings / manage

    a) Open "API usage"

    b) Go to "Callback API", paste the URL of your site + '/callback' // ex: https://yoursite.com/callback

    Configuring Callback API

    c) Open app/data/posts_callback. Then, before the function docstring paste 'return' + string to be returned (you can find the string on the page with the Callback API settings)

    d) Confirm the Callback API for your group and delete the line you pasted previously

And that's all. I hope your app is working.

web_project's People

Contributors

adariax avatar

Stargazers

Andrew avatar Vladyslav Lychanyi avatar Leeloo avatar Ruslan Izmailov avatar frogstair avatar Ilya Vodopyanov avatar Danila Speranskii avatar  avatar Сотников Даниил avatar  avatar Egor Koder avatar

Watchers

 avatar

web_project's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.