Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8120189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T05:03:28+00:00 2026-06-06T05:03:28+00:00

Here I am working with asp.net web application, I am using 2 facebook plugin

  • 0

Here I am working with asp.net web application, I am using 2 facebook plugin in my web page.

  1. Facebook like
  2. Facebook share

For facebook share :

<a name="fb_share" type="button" share_url="*******"></a>
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript">
</script>

For facebook like :

 <script>    
    (function (d, s, id) {
        var js, fjs = d.getElementsByTagName(s)[0];
        if (d.getElementById(id)) return;
        js = d.createElement(s); js.id = id;
        js.src = "//connect.facebook.net/en_US/all.js#xfbml=1";
        fjs.parentNode.insertBefore(js, fjs);
    } (document, 'script', 'facebook-jssdk'));
 </script>

<div id="fb-root"></div>            
<div class="fb-like" data-href="********" data-send="false" 
  data-layout="button_count" data-width="10" 
  data-show-faces="false" style="width:45px; height:20px;"></div>

Case 1. above code work fine when I am using single code.

Case 2 : when I am using both some time facebook like plugin disappeared from page.

Thanks in advance…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T05:03:30+00:00Added an answer on June 6, 2026 at 5:03 am

    Like button and Share button may be used on one page only if you avoid usage of javascript provided with it and use direct link to share.php (which I will not provide for reasons outlined bellow).

    If you’ll use http://static.ak.fbcdn.net/connect.php/js/FB.Share it will break either Share or Like buttons, according to order of javascript inclusion, first one will work, second one is in trouble.

    Couple of points to take into consideration:

    • Share button is deprecated please avoid using it!

    The Share button has been deprecated in favor of the Like button, and will no longer be supported.

  2. Share button can be easily replaced with usage of Feed Dialog and JS-SDK, which provide more control over sharing functionality:
    FB.ui({method: 'feed', link: document.location.href});
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on asp.net, C# web application. Working on my main page in
I'm working on an Asp.Net 4.0 web application which is using the Membership and
I'm working on a web application project using ASP.NET MVC3 and database in SQL
i am working on a asp.net(with c#) web application and here i have problem.
Here's what i have : ASP.NET 4.0 Web Application Forms Authentication (Cookie Based) Here's
I am creating a web application using ASP.Net. I am using session in my
We are using Oracle 11g as backend in our asp.net Web application. In signup
I'm working on my first asp.net/web development application. Obviously, I'm very new to asp.net
My use-case: I already have a working ASP.NET application I would like to implement
I've just started working on a brownfield ASP.NET 2.0 Web Application. As with a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.