Оdnoklassniki android sdk widget media how to tag a friend?

Hello!
I'm trying to find a way to make the publication and to note other
it can be to make when using myspace.request("mediatopic.post", args, "post"); and the parameters to specify withFriends in json. However, there are required rights to publish, which did not give say to use the widget.
How do I use the widget and tag a friend in my publication??? or at least my writing appeared in his belt.

here is the code which will post the message but without the mark of the other((
String js = "{\"withFriends\": [575469879691]," +
"\"media\": [{\"type\": \"text\",\"text\": \"test api\"}]," +
"\"with_friends\": [\"575469879691\"]}";
// HashMap args = new HashMap<>();
// args.put("format", "json");
// args.put("type", "USER");
// args.put("attachment", js);

myspace.performPosting(activity,
js,
false, null);

PS. in the method used performPosting the argument here is only that it takes as arguments and what if you already have attachmenet is take question

heeelp
June 26th 19 at 14:21
1 answer
June 26th 19 at 14:23
PS
* @param args widget arguments as specified in documentation
- that's straight at all helped.....

Find more questions by tags ClassmatesAndroid