D
D
dedmarazmon2016-03-21 18:39:47
Android
dedmarazmon, 2016-03-21 18:39:47

I can’t make the ball in OK (android), can someone tell me?

Hello.
I'm trying to make a ball on the page, everything seems to be OK, this is what the server returns - {"type":"success","id":"0","signature":"bd60d82b44b706f73739f3f2e52f416e"}
Here is the code itself:

Odnoklassniki odnoklassniki = Odnoklassniki.createInstance(getActivity().getApplicationContext(), "XXXXXXXXXX",
"XXXXXXXXXXXXXXXXX");
odnoklassniki.performPosting("{\n" +
                                "  \"media\": [\n" +
                                "    {\n" +
                                "      \"type\": \"link\",\n" +
                                "      \"url\": \"http://ok.ru/feed\"\n" +
                                "    }\n" +
                                "  ]\n" +
                                "}",
                        true, toasterListener);

But the page does not show up. Maybe missed something. I will be grateful for help.
Thank you for your attention!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Valery Ozhiganov, 2016-03-22
@dedmarazmon

The Android SDK uses the publish widget .
You need to approve it, write a request with the application id to [email protected]
Without approving, the post passes the check of the passed parameters, but simply is not shown.

A
Alexey Perelygin, 2016-03-22
@orcDamnar

I remember there was garbage such that I did not have this news, but my friends saw it. Did you check from some friendly account?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question