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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T00:01:25+00:00 2026-06-11T00:01:25+00:00

I created an application and I wanted to add a like button. When I

  • 0

I created an application and I wanted to add a like button.

When I click the button, it changes to show that I like the page, then immediately changes back with a red “Error” next to it.

This is the code that I’m using:

<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/fr_FR/all.js#xfbml=1&appId=453976824647366";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>


       <div class="fb-like" data-href="http://apps.facebook.com/453976824647366/" data-send="true" data-width="450" data-show-faces="true"></div>

This is a page index.php.

This is also my application settings, it might be of some help for you to understand my problem.

My aplication settings

After the user “likes” the application, I want to redirect him on a second page (located in the root of my project).

  • 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-11T00:01:26+00:00Added an answer on June 11, 2026 at 12:01 am

    Like boxes are meant to like a certain existing content that has a valid URL.

    In your case you can test some functions but not like box.

    For a best approach I would suggest you to move you website online can continue testing from there.

    Read ‘What happens when I click a Like or Recommend button on external websites?‘

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have created an SMS application in .NET. I wanted that the application should
I've created something that works like a ToolTip in my Flex application. When I
I created an application to show a press release once the target date and
I created an application that parses content of secured areas of one webpage after
I have already created a Macro using a 3rd party application that does what
I've created a Metro-style C#/XAML application, and now I'm trying to add it to
I have created this fan page http://www.facebook.com/pages/ohlala/327385737341 and added an application on tab "Special
I wanted to add twitter feed to my application. So I've downloaded python-twitter (with
I have created application where i just need to access data form assets folder.
I created an application , which Users can create a Topic and other can

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.