Comments (7)
Are you testing in test environment? As I know your posts will not be visible until your app get approved.
from ok-ios-sdk.
I've not seen any setting about test environment or any button for submission of my app for approval ?
Could you please guide me how to do this ?
Thanks
from ok-ios-sdk.
I'm not sure, but probably you should fill this form http://apiok.ru/wiki/pages/viewpage.action?pageId=48463883 . I did it once for my app :)
from ok-ios-sdk.
OK, I've filled the form, thanks for your help.
Now, waiting for the approval.
from ok-ios-sdk.
Hello love4soul again,
My app is approved and finally I can see the posts that I share on my iOS app, thanks for your help.
I've another question, I am trying to share text with link and an icon/image, I see that there is an attachment dictionary and I've tried to add new types according to my finding on the net.
I set it like below,
NSDictionary attachments = @{
@"media" : @[@{@"text" : self.textView.text, @"type" : @"text"},
@{@"type" : @"link" ,@"url" : @"http://my_company.tr"}
/@{@"src" : @"img/logo.png", @"type" : @"image"}*/
]
};
text is already working and also the usage of text type is included in the sample, I've added the link and image part. The link is working too but the image is not shown in the post. I think, I misused the image type
I just want to show an icon with the post, how should I attach this ?
from ok-ios-sdk.
There is no such type as "image". You need to upload image first and then set imageId and photo token.
"type": "photo",
"list": [
{ "id": "photoToken1" },
{ "id": "photoToken2" },
{ "photoId": "1234" }
]
http://apiok.ru/wiki/display/api/mediatopic.post+ru
from ok-ios-sdk.
I see, thanks for your great help.
from ok-ios-sdk.
Related Issues (20)
- При попытке авторизоваться выдает ошибку HOT 4
- При получении списка uid друзей возвращается Unknown api response HOT 3
- Как я могу узнать что сессия не просрочена? HOT 4
- CocoaPods не работает? HOT 1
- openUrl после рестарта приложения HOT 2
- openUrl return value HOT 4
- CocoaPods устанавливает предпоследнюю версию (2.0.11)
- Error code 100 HOT 1
- Использовать openURL:options:completionHandler: HOT 1
- PARAM_SESSION_KEY : Invalid session key HOT 3
- showWidget не показывает виджет HOT 1
- Не срабатывает авторизация через SDK HOT 3
- expires_in параметр с authorizeWithPermissions
- Проблемы с авторизация через приложение
- Не работает авторизация
- NSURLConnection is deprecated HOT 2
- Error Domain=ru.ok.sdk Code=1 HOT 1
- Убрать использование advertisingIdentifier HOT 1
- Ошибка permissions.error.login-by-api-failed iOS 14
- SPM support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ok-ios-sdk.