Setup/Installation: OK.RU (Odnoklassniki) – Social Networks Auto-Poster
Ok.ru uses OAuth to provide authorized access to it’s API. You need to register ok.ru application and get “App Key” and “App Secret” as well as “access_token” and “secret_session_key”. You also will need to ask ok.ru API support team for the posting rights.
Please note: Ok.ru API team does not issue account posting rights to external apps, so only posting to groups pages is possible.
You must create a group page and have it setup and ready before requesting the app posting rights.
Ok.ru App Configuration
1. Create a Ok.ru app for your website.
1. Login to your Ok.ru account.
2. Go to the Ok.ru Developers access page: https://ok.ru/devaccess
If you are already registered as developer, skip to step 3.
Click “Get Developer Rights” (“Получить права разработчика”).
Click the link “Add new App” (“Добавить приложение”) (https://ok.ru/dk?st.cmd=appEdit&st._aid=Apps_Info_MyDev_AddApp&st.vpl.mini=false)
Fill all required fields for the application. You will need to have 3 images (128×128, 50×50, 18×18) uploaded to your site. Please see more info here: https://apiok.ru/dev/app/create
Very Important! Choose application type as “External” (“Внешнее”). Other types will not work.
Click “Save”, you will get a message that all app info has been sent to your email.
4. Check your email. Notice Application ID, App Public Key and App Secret Key: in the message.
Write an email (in Russian) to firstname.lastname@example.org. Says that you have a website and you would like to post news or blog posts from your website to your ok.ru group/page. You have created application with ID xxxxxxxxxxxxxx(Application ID from step 4 above) and you would like to request the following rights for it: GROUP_CONTENT, PHOTO_CONTENT, VALUABLE_ACCESS.
7. Wait several days for ok.ru API support team to grant you the posting rights.
8. Getting “access_token” and “secret_session_key”
Very Important! Please do this step ONLY AFTER you receive email from api support team granting you rights. If you do that before, please note that both “access_token” and “secret_session_key” will be changed at the moment API support grants you posting rights and your “access_token” will become invalidated. You will need to redo this step.
Scroll down and click “Change App Settings” (“Изменить настройки приложения”) at the bottom of the page.
Enter the application secret key from the original email (Step 4)
Scroll down to the bottom of the page and click “Get Access Token” button.
Notice access_token/b> and secret_session_key
9. Getting Group ID
Go to “My groups” page (https://ok.ru/okapy/groups/mine), click on “I moderate”, select the group that you want autopost to.
Click “Settings” in the left menu.
You will find the Group ID at the very end of the page.
2. Connect ok.ru to your WordPress.
1. Login to your WordPress Admin Panel, Go to the Settings->Social Networks AutoPoster Options.
2. Click green “Add new account” button, select “OK.RU” from the list.
3. Fill “App Key” and “App Secret” from step 4 above. Fill “access_token” and “secret_session_key” from the step 8 above. Fill the Group ID from the step 9.
4. Click “Add Account”.
5. Your OK.ru account is ready to use.
How to setup each type of Social Network~ Facebook Configuration
~ Twitter Configuration
~ Google+ Configuration
~ Pinterest Configuration
~ App.Net Configuration
~ Blogger Configuration
~ Delicious Configuration
~ Deviantart.com Configuration
~ Diigo Configuration
~ Flickr Configuration
~ [New]MailChimp Configuration
~ [New]Medium Configuration
~ [New]Instagram Configuration
~ Instapaper Configuration
~ LinkedIn Configuration
~ LiveJournal/Dreamwidth Configuration
~ [New]Ok.ru Configuration
~ Reddit Configuration
~ [New]Telegram Configuration
~ Scoop.It Configuration
~ Stumbleupon Configuration
~ Tumblr Configuration
~ Plurk Configuration
~ vBulletin Configuration
~ vKontakte(vk.com) Configuration
~ Blog.com/Wordpress.com Configuration
~ YouTube Configuration
~ [New]Weibo Configuration
~ [New]Yo Configuration
~ [New]500px Configuration
Have problems? Please check out the Troubleshooting FAQ page.