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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T00:21:48+00:00 2026-06-03T00:21:48+00:00

I have a site that shows pictures grouped by activity plus some extra data.

  • 0

I have a site that shows pictures grouped by activity plus some extra data. It’s a mashup of Facebook data and some other data.

I would like to let users comments on the activities and photos, and then have those comments appear on Facebook as well under the activities and comments. Yet it appears that the social plugin for comments doesn’t support Facebook objects – only URLs.

EDIT:To be more clear, Facebook deprecated the FBML, and tells us to use HTML and JavaScript. But there is no obvious UI for Comments for JavaScript (https://developers.facebook.com/docs/reference/fbml/comments_(XFBML)/)

Am I missing something? Do I have to write my own UI for photo and activity comments?

  • 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-03T00:21:50+00:00Added an answer on June 3, 2026 at 12:21 am

    Bill you will need to use the graph api and one of the sdk’s, i use php sdk for the exact same function.

    refer to post object https://developers.facebook.com/docs/reference/api/post/#comments

    Create

    You can write to the POST_ID/comments connection to post a comment to
    the post by issuing an HTTP POST request with the publish_stream
    permission and following parameters.

    refer to php-sdk https://developers.facebook.com/docs/reference/php/

    i use REQUEST method to catch post by page and the api to push to the graph. my sample below.
    NOTE: this assumes you have Facebook php sdk 3.1.1 installed on your server.


    $postid = $_REQUEST['postid']; // id of the post
    $message = $_REQUEST['msg'];  // users message for comment
    $params = array(
    'access_token' => ''.$access_token.'', // user access token and read_stream perms needed
    'method' => 'post',
    'message' => ''.$message.'',
    );
    try {
    $sendComment = $facebook->api('/'.$postid.'/comments', 'post', $params);
      } catch (FacebookApiException $e) {
      echo 'AF error: '.$e.'';
      }
    }else{
    
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a link on my site that shows a random post, and the
I have a site that displays other sites through an iframe on certain pages.
We have a site that is serving some RSS feeds, and we'd like to
I have a site that features some pages which do not require any post-back
I have a site that has 2 DIV tags, one floats left the other
I have a site that shows guitar chords/tabs in text format. Here's what I
I have designed a site that shows nice via FF or Chrome while fails
I'm using Facebook Likes in my site. I have a gallery page which shows
I've added a feature to a web site that shows what visitors have visited
I have a SharePoint site that I created some custom web parts for. One

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.