How to add facebook and twitter links in asp.net? - asp.net

I've a task in which i need to add Face book LIKE, Comment etc buttons or links in my application.
and also i need to add twitter link.
Please help me with the asp.net code.
Thank u.

Document provides links for Facebook Social Plugins such as (Like Button, Send button, Comments, Like Box.etc).
Document for the Tweet button, Follow button and how can you embed them on your website with just one line of code.

Related

Share content on my Google+ PAGE with ADDTHIS

I am trying to post some Wordpress article directly on my google+ page with addthis, but it always post them on my Google profile.
I just can add a comment, remove extract and photo, and choose my share list, but I can't choose where I want to post it
In addthis support forum they say it is not possible:
Unfortunately this is a limitation of the Google+ button, not of
AddThis. We're not aware of any way to share to Google+ business pages
yet.
The way I do it is to copy the URL link of the article I want to share and then go to my Google+ page and paste that link there.
You should use an approved third party solution for posting to Google+ Pages. See the list at http://www.google.com/+/business/3rdpartytools.html

twitter in drupal 7 web site

sir
I'm new to the drupal. I want to put twitter button in my drupal 7 web site in the footer.I use twitter button code to html.tpl.php file and i put code to the below the page bottom ().It works correctly.But button it display below the footer in my site.But i want to display twitter button in the footer.How can i do this.
I want only the log to my site's twitter page when clicking button.
this is the code which i use (https://twitter.com/about/resources/buttons#follow)
Follow #twitter
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
thank you
You're best off using the Twitter Follow Block module or Follow Button module or a similar one to do this for you. They'll each give you a block which you can then place wherever you want, without having to manually add the code to your template. You can then just go to the blocks page and move it to the region you wish to place it in and order it relative to the other items in that region using the drag handles on the left.
If you really want it completely custom coded in yourtemplate, you're probably looking for page.tpl.php, not html.tpl.php. You won't have as much control over placement, though.

Prevent to automatically render youtube links in Wordpress Comments

Wordpress is now replacing the youtube links that people post into comments of a post with the actual video. It is rather anoying and I would like to know if it is possible to leave the link as is and not add the embed code to view the video directly from the comment container?
Have you tried entering that code in the TEXT tab rather than the VISUAL tab of the editor?

Facebook & Twitter share buttons in asp.net

My asp.net web page shows a list of Youtube videos. I want to show "Share on Facebook" and "Share on Twitter" links with each video icon.
How can I implement it?
You can achieve that by using Add This.
Document provides links for Facebook Social Plugins such as (Like Button,Send button,Comments,Like Box.etc.) and how to integrate into your site with just line of HTML code.
Document for the Tweet button, Follow button and how can you embed them on your website with just one line of code.
You can check this one for facebook share button, twitter share button, linkedin share button with callback function just pass your link and share:
Social share buttons facebook,twitter,linkedin in asp.net
Add This is good option otherwise if you wants to add just Twitter only then below code will help you out.
Add Tweet To Asp.NET Website

how to implement facebook like button on my website for each photo on my page?

I have a page that have 5 to 10 photos of a person, If some user comes into this page he should see facebook "Like" button next to each photo on that page. Please tell me the best to do it?
I have installed Javascript SDk on my site, I can use XFBML also. Just post me some sample code if you have any?
Thanks
Why not do what the manual says ?
http://developers.facebook.com/docs/reference/plugins/like

Categories

Resources