How to implement facebook features?

I saw many websites that give the facebook badge, and if we click it automatically, our friends will know that we liked this element. How can we implement this functionality? I am using C # Asp.Net

Thank you in advance:)

+4
source share
3 answers

While you can do this with C #, your life will be much easier if you do this using JavaScript in an ASP.NET application. To get started with the Facebook Javascript SDK

If you absolutely insist on this using C #, I would recommend using C # Facebook sdk .

+2
source

Just release Like iframe on ASP.Net

<iframe src="http://www.facebook.com/plugins/like.php? href=<% =Server.UrlEncode(Request.Url.ToString()).ToString() %> &amp;layout=standard&amp;show_faces=true&amp;width=450&amp;action=like &amp;colorscheme=light&amp;height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe> 

notification <% =Server.UrlEncode(Request.Url.ToString()).ToString() %> this forces you, as a plugin, to link to any page that you have on your website.

+3
source

Using Like a social plugin.

0
source

Source: https://habr.com/ru/post/1332585/


All Articles