-
Notifications
You must be signed in to change notification settings - Fork 227
Create Odnoklassniki App
gorbin edited this page Oct 30, 2014
·
3 revisions
- Register as developer http://ok.ru/devaccess
- Create new app
- Add App
- Then you will get message to your email cntaining APP_ID, APP_PUBLIC_KEY, APP_SECRET_KEY
- Fulfill "Список разрешённых redirect_uri" with
okauth://okXXXXXXXXXX
- Add to AndroidManifest.xml
where XXXXXXXXX your app id
<activity android:name="ru.ok.android.sdk.OkAuthActivity" android:launchMode="singleTask" android:configChanges="orientation"> <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:scheme="okauth" android:host="okXXXXXXXXX" /> </intent-filter> </activity>
For sharing from your app you need VALUABLE_ACCESS: For getting it from odnoklassniki fust send them email to oauth@odnoklassniki.ru with your app id and shortname