Facebook, the "like" button, "Save" and OpenAPI?

0 like 0 dislike
5 views
Hi all,


Is there some way to JavaScript a number of users nagauri these buttons to a specific address?
by | 5 views

4 Answers

0 like 0 dislike
Of course. You can perform an ajax request to the page:
\r
\rvkontakte.ru/widget_like.php?app=APPLICATION_ID&url=URL_TO_PAGEauth=1
\r
For example, for the page:
\rhh.ru/article.xml?articleId=2070 (click "like" on the right)
\r
The link is:
\rvkontakte.ru/widget_like.php?app=1974404&url=http://hh.ru/article.xml%3FarticleId%3D2070auth=1
\r
The query will return the contents of the widget from which to extract the contents of the variable counter, either from the html code using jQuery:
\r
Like 4 people
\r
The direct method of Open API does not exist.
by
0 like 0 dislike
Not for that.
by
0 like 0 dislike
No, Ajax request to this page is not run, since it is another domain and crossdomain.xml this will not allow
by
0 like 0 dislike
Well, with a server proxy everything is clear, just wish I could somehow manage without them. Thank you
by

Related questions

0 like 0 dislike
2 answers
asked Mar 26, 2019 by neskin
0 like 0 dislike
1 answer
0 like 0 dislike
7 answers
asked Mar 22, 2019 by PlatinumArcade
0 like 0 dislike
6 answers
110,608 questions
257,186 answers
0 comments
28,804 users