Z
Z
zi2016-02-24 10:51:47
API
zi, 2016-02-24 10:51:47

How to get the number of page sharing in classmates?

Hello!
I can’t get the number of page sharings in ok.ru, I tried several ways that I googled, but none of them work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
Kontrael, 2017-07-25
@Kontrael

$url="https://connect.ok.ru/dk?st.cmd=extLike&uid=odklcnt0&ref=".$_REQUEST["URL"];

  $ch = curl_init();
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  curl_setopt($ch, CURLOPT_URL,$url);
  curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);

  $result = curl_exec($ch);

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question