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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:56:23+00:00 2026-06-14T02:56:23+00:00

We are using the Facebook comments plug-in on our pages using: <div class=fb-comments data-href=<?=$page_url?>

  • 0

We are using the Facebook comments plug-in on our pages using:

<div class="fb-comments" data-href="<?=$page_url?>" data-num-posts="2" data-width="520"></div>

…where $page_url contains the URL of that specific page (dynamically generated, think of it as article pages). However, when posted on Facebook Wall, the image and page content are different (shows a different page). When we click the link though, it does go back to the correct page.

Why does it get an image and page content from another page even though we have a unique ID on the URL?

  • 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-14T02:56:24+00:00Added an answer on June 14, 2026 at 2:56 am

    I figured out how. I just need to put the necessary open graph metadata on top like so:

    <meta property="og:description" content="[page description]" />
    <meta property="og:image" content="[page image]" />
    

    This way, it always shares the correct image and description for that page.

    (For more info on open graph: http://ogp.me/)

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

Sidebar

Related Questions

I am using Facebook comment box plugin: <fb:comments href=${myPageUrl} num_posts=20 width=630></fb:comments> Every thing is
If I impement the Facebook comments using a lower width (in this case 380px)
I'm using Facebook Connect's Comments Box ( http://wiki.developers.facebook.com/index.php/Comments_Box ) to handle comments on my
I want to add Facebook comments using JavaScript (jQuery) to be able to customise
I am adding facebook comments to my iPad application using UIWebView and HTML5 code
I'm trying to integrate the Facebook comments left on our site in a way
I am using Facebook Comments plugin in my website: http://developers.facebook.com/docs/reference/plugins/comments/ by add this to
I am using javascript api to get facebook comments. i am getting the following
Hello I am using facebook graph api..and trying to display comments of each post..But
In my web application in PHP users need to enter comments using their facebook

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.