P
P
par0v0zik2016-06-02 11:26:55
Classmates
par0v0zik, 2016-06-02 11:26:55

How to make a user mention when creating a post in Odnoklassniki via the API?

Good afternoon!
There was a need through the application to make a post on the user's wall with the mention of some of his friends.
Please tell me which API method can be used to implement this (serverside method is desirable, but JS is also suitable).

Answer the question

In order to leave comments, you need to log in

2 answer(s)
H
heartdevil, 2015-09-15
@victory_vas

hello
try this

setlocale(LC_ALL, "ru_RU.UTF-8");
 preg_match_all("|\bАГЕНТСТВА\b|uim", "Квартира от АГЕНТСТВА", $matches);

Replace word with your word.

A
Alexander Aksentiev, 2015-09-15
@Sanasol

regexr.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question