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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T03:51:18+00:00 2026-05-30T03:51:18+00:00

I am trying to provide Like buttons INSIDE my Facebook app that will allow

  • 0

I am trying to provide “Like” buttons INSIDE my Facebook app that will allow users to “Like” dynamic content for the purpose of advertising the app.

For this reason, when someone Like’s and the post appears on their wall, I need to to say “via [My App Name] and the app’s icon at the bottom of the post. However, with my current method, I’m seeing the post perfectly including the link to the external URL, but the App’s name is not present.

The app runs by loading index.php from my Canvas URL. Index.php references:

< script src=”https://connect.facebook.net/en_US/all.js#xfbml=1&#8243;>

and $(document).ready does this:

            FB.init({
                appId       :   '[my app id]',
                status      :   true,
                cookie      :   true,
                xfbml       :   true
            });

then loads the content pages via Ajax into a blank div in the middle of the page.

The page loaded via Ajax contains numerous instances of the following:

< fb:like data-layout=”button_count” href=”[the url of my dynamic content]”>

Then in $(document).ajaxComplete(), I do FB.XFBML.parse();

The dynamic page being linked to has the following tags:

    <meta property="og:title" content="my title" />
    <meta property="og:description" content="<?=$php_variable?>" />
    <meta property="og:type" content="website" />
    <meta property="og:url" content="[the url of this page]" />
    <meta property="og:site_name" content="site name" />
    <meta property="fb:app_id" content="[my app id]" />

Anybody see where I’m going wrong? If I missed posting any critical info, I’ll be happy to – I’m just cross-eyed at this point and might have missed something.

Thank you in advance for your help!

  • 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-05-30T03:51:19+00:00Added an answer on May 30, 2026 at 3:51 am

    The Like button doesn’t attribute the like to the app linked to the URL you’re liking – there is no ‘via’ link – adding the app to the page is done so that the app can publish to users that like the page, manage the insights, etc

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

Sidebar

Related Questions

I'm trying to create a generic class in PHP that will provide a way
I'm new to Core Data. I'm creating an app that will allow a user
I am trying to make a webpage so that content will only be visible
I'm trying to upgrade an app ( Clarke ) to provide 10.6 compatibility. My
I'm trying to provide an IBAction method for common functionality that is required at
I am trying to get a facebook like button running. Instead when you click
Trying to demystify the Like button as of December 2011. http://developers.facebook.com/docs/reference/plugins/like/ Have 2 questions:
I am trying to make a simple Windows Form application that will show different
I'm trying to provide a link to my company's website from a Windows Form.
I am trying to provide my own labelFunction for a CategoryAxis programatically but am

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.