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

  • Home
  • SEARCH
  • 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 7670409
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T15:48:58+00:00 2026-05-31T15:48:58+00:00

There is a commenting system in my php application. If user already logined in

  • 0

There is a commenting system in my php application. If user already logined in facebook then I have to hide Name section in my add comment form, If not it need to show Name and comment fields.

Also for displaying comments I need to show user’s facebook name and profile thumb.

I tried a lot in developer.facebook site.

Please help me.
Thanks in advance

  • 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-31T15:48:59+00:00Added an answer on May 31, 2026 at 3:48 pm

    With the facebook php-sdk, you can get the logged-in user’s info with this code:

    $user = $facebook->api('/me');
    

    giving of course if the user authorized your application.
    You can also display the user’s profile picture with:

    <img src="http://graph.facebook.com/<?php echo $facebook->getUser(); ?>/image" />
    

    or you can just use the facebook comments plugin: http://developers.facebook.com/docs/reference/plugins/comments/

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

Sidebar

Related Questions

I have made an application recently which has articles, etc, with a commenting/moderation system
I have JavaScript for a commenting system, however when I click on the submit
I had a movie related forum in my website. There is a commenting system
Is it possible, with the new Facebook commenting system to restyle them? I only
I'm experimenting with creating a commenting system. I'm using php-OEmbed class and HTML Purifier
I have Commenting system in my app. For a single video entry anyone can
I'm building a commenting system with PHP/MySQL. This commenting system has a nice feature,
There is a lot of conversation about commenting code, but how about commenting on
Is there a standard convention (like phpdoc or python's docstring) for commenting C# code
I'm using doxygen for commenting code. There is, for example, two files: test1.cpp :

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.