facebook comment with title instead of the whole url
I have implement comment for facebook in my application.

I have requirement where user needs to post comment on different projects (user projects) in my application.

this are having links in URL like......

http://localhost:123/userProject/projectid =1

http://localhost:123/userProject/projectid =2

http://localhost:123/userProject/projectid =3


Now, when user post the comment they see in facebook like

xyz post comment on http://localhost:123/userProject/projectid =1

xyz post comment on http://localhost:123/userProject/projectid =2

xyz post comment on http://localhost:123/userProject/projectid =3

etc.....

I want to make it like 

**xyz post comment on xyz.com and when xyz.com clicks it redirect to my project.**

How can i do that as i implement 

     <div class="fb-comments" data-href=<%= projecturl %> title="test test" data-num-posts="2" data-width="500">
    </div>

to work for comment.

where projecturl =  http://localhost:123/userProject/projectid =1

or
 http://localhost:123/userProject/projectid =2

or
 http://localhost:123/userProject/projectid =3

what i am missing to display on face book something like

user comment on xyz.com.....

i.e. I don't want to see the whole URL on facebook only the domain



facebook comment with title instead of the whole url
===

I have implement comment for facebook in my application.

I have requirement where user needs to post comment on different projects (user projects) in my application.

this are having links in URL like......

http://localhost:123/userProject/projectid =1

http://localhost:123/userProject/projectid =2

http://localhost:123/userProject/projectid =3


Now, when user post the comment they see in facebook like

xyz post comment on http://localhost:123/userProject/projectid =1

xyz post comment on http://localhost:123/userProject/projectid =2

xyz post comment on http://localhost:123/userProject/projectid =3

etc.....

I want to make it like 

**xyz post comment on xyz.com and when xyz.com clicks it redirect to my project.**

How can i do that as i implement 

     <div class="fb-comments" data-href=<%= projecturl %> title="test test" data-num-posts="2" data-width="500">
    </div>

to work for comment.

where projecturl =  http://localhost:123/userProject/projectid =1

or
 http://localhost:123/userProject/projectid =2

or
 http://localhost:123/userProject/projectid =3

what i am missing to display on face book something like

user comment on xyz.com.....

i.e. I don't want to see the whole URL on facebook only the domain


