You are here

README.txt in VK CrossPoster 6.3

Same filename and directory in other branches
  1. 8 README.txt
  2. 6 README.txt
  3. 6.2 README.txt
  4. 7.2 README.txt
  5. 7 README.txt
***ENGLISH***

Install
=======

1) Go to http://vkontakte.ru/apps.php?act=add&site=1 and create web site application

2) Extract module into sites/all/modules directory

3) Go to module settings page /admin/build/modules and enable vkxp (VKontakte CrossPoster) module

4) Go to vkxp settings page /admin/settings/vkxp and paste there application ID, application secret key (from application settings page) and group ID (you should be administrator there).

5) Click 'Save configuration' button and give your application access to your web site

6) Don't forget to select node types (/admin/settings/vkxp/node) and images (/admin/settings/vkxp/images) that should be posted


Usage
=====

When creating or editing node, just check "Post this node to vkontakte.ru" and data will be automatically sent to vkontakte.ru


External usage
==============

If you are authorized on vk server (if you get access token after 5th step of installation) you may make queries to vk api using this function:

vkxp_query($api_method, $post_fields, $requert_url);

About VK api you can read here http://vkontakte.ru/developers.php#devstep2

Also it is possible to change this query using hook_vkxp_query_alter(). Read about it in vkxp.api.php

File

README.txt
View source
  1. ***ENGLISH***
  2. Install
  3. =======
  4. 1) Go to http://vkontakte.ru/apps.php?act=add&site=1 and create web site application
  5. 2) Extract module into sites/all/modules directory
  6. 3) Go to module settings page /admin/build/modules and enable vkxp (VKontakte CrossPoster) module
  7. 4) Go to vkxp settings page /admin/settings/vkxp and paste there application ID, application secret key (from application settings page) and group ID (you should be administrator there).
  8. 5) Click 'Save configuration' button and give your application access to your web site
  9. 6) Don't forget to select node types (/admin/settings/vkxp/node) and images (/admin/settings/vkxp/images) that should be posted
  10. Usage
  11. =====
  12. When creating or editing node, just check "Post this node to vkontakte.ru" and data will be automatically sent to vkontakte.ru
  13. External usage
  14. ==============
  15. If you are authorized on vk server (if you get access token after 5th step of installation) you may make queries to vk api using this function:
  16. vkxp_query($api_method, $post_fields, $requert_url);
  17. About VK api you can read here http://vkontakte.ru/developers.php#devstep2
  18. Also it is possible to change this query using hook_vkxp_query_alter(). Read about it in vkxp.api.php