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 7853881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T19:50:30+00:00 2026-06-02T19:50:30+00:00

the like button is not showing. code snapshot my html file : . .

  • 0

the like button is not showing.

code snapshot

my html file :

.
.
.
<body>

    <div id="fb-root"></div>
<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>
.
.
.

my js file:

 .
 .
 .
var navtoolbar = {
xtype : 'toolbar',
title : Ext.String.ellipsis(titlevalue,20,true),
docked : 'top',
items : [backButton,spacer,
{xtype:'container',html:'<div class="fb-like" data-href="http://test.com" data-send="true" 
data-layout="button_count" data-width="450" data-show-faces="true"></div>'}]
};
 .
 .
 .

In another part of my application, i was able to show the like button(not on the toolbar).

this.getItems().items[0].setHtml('<div class="category-title" >'+this.getDataList()._contentTitle+' </div><div class="fb-like" data-href="http://test.com" data-send="true" data-layout="button_count" data-width="450" data-show-faces="true"></div>');
  • 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-02T19:50:31+00:00Added an answer on June 2, 2026 at 7:50 pm

    This is the code that should be added in order to obtain the facebook button in your toolbar:

    FB.XFBML.parse();//facebook
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a facebook like button on http://www.hotsear.ch , but will not show a
I would like a button to change a label between being visible and not
I've implemented the Facebook like button on my site, but liked links are showing
I'm trying to do a like button (Not Facebook), just an Up Vote functionality
Before Anything: $.getJSON back button showing JSON return data not the page did not
I would like to hide a div when a button is clicked and show
The button-count Layout Style height of the Like button and corresponding counter block is
I am trying to get my like button on my website www.nacts.com.au to add
I cant seem to get the Facebook like button to include my image, checked
This is when i press Like button. How to inspect where is the problem?

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.