Giter Club home page Giter Club logo

Comments (7)

love4soul avatar love4soul commented on August 17, 2024

Are you testing in test environment? As I know your posts will not be visible until your app get approved.

from ok-ios-sdk.

tnadus avatar tnadus commented on August 17, 2024

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.

love4soul avatar love4soul commented on August 17, 2024

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.

tnadus avatar tnadus commented on August 17, 2024

OK, I've filled the form, thanks for your help.
Now, waiting for the approval.

from ok-ios-sdk.

tnadus avatar tnadus commented on August 17, 2024

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.

love4soul avatar love4soul commented on August 17, 2024

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.

tnadus avatar tnadus commented on August 17, 2024

I see, thanks for your great help.

from ok-ios-sdk.

Related Issues (20)

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.