• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 337
  • Last Modified:

facebook comments plugin

Hello experts,

I have a website where people can register and login.
I have put the facebook comments in their loggedon page, so other people can post comments.
(https://developers.facebook.com/docs/reference/plugins/comments/)

Trouble is : all comments are mixed for all users.
Is it possible to have only comments for eached user, so 1 user can only see comments about him and not comments about other users ?

regards
0
yarekGmail
Asked:
yarekGmail
  • 3
  • 2
1 Solution
 
Jonathan WoodsCommented:
I believe you would have to create a database of all users that are present or would be using this then assign permissions based on the given user profile... Maybe an auto directory creator "when xx user logs in or posts, auto add to master DB.   ???
0
 
yarekGmailAuthor Commented:
of course I have the database already created.
But how to filter the facebook comment plugin / user ?
Let say I am logged on as John.
I enter James page on the site and I post a FB comment ONLY about James.

When James logs on he only sees FB comments ONLY about him.
Now I have a global FB comment so anyone can post Global comments.

regards
0
 
Jonathan WoodsCommented:
You may look at the code built in WP and see if you can toggle that around. I will keep my ears open for you.

http://wordpress.org/support/topic/show-only-comments-by-specific-registered-user
0
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
yarekGmailAuthor Commented:
I am talking about FACEBOOK, not WORDPRESS
0
 
Jonathan WoodsCommented:
Just trying to give some ideas. I know you are speaking about FACBOOK and not WORDPRESS, My ref was to show you code any maybe manipulate it to work inside what your doing.

Good Luck with it. You may also want to respond to posts in easier manner
0
 
StingRaYCommented:
Try this then:

<fb:comments href='http://your_url/userid'></fb:comments>

Open in new window


Replace your_url to your URL and userid to user primary key.

For example, when you enter James page, the URL above should be something like http://your.homepage.com/james. Don't worry if the page does not really exist.

When you login as James, just do the same.

Anyway, I have not tried this yet but it should work.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now