1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

I am having a problem using facebook comment plug-in

Discussion in 'Facebook API' started by arvi2012, Jun 22, 2012.

  1. #1
    Recently I moved on from traditional blog commenting method to Facebook comment box.....Facebook comments on my website work well except the fact when someone comments on one article that same comment shows up on every article on the website. Obviously, I don't want that....I want different comments on different posts...but I dnt knw how to do it?? Please help me.......
    SEMrush
     
    arvi2012, Jun 22, 2012 IP
    SEMrush
  2. DogDice

    DogDice Peon

    Messages:
    10
    Likes Received:
    0
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Hello,

    Could you please provide me the name of your blogging platform?

    The thing you need to do it to change the data-href parameter to a dynamic one, generated by your server.

    <div class="fb-comments" data-href="http://example.com" data-num-posts="2" data-width="470"></div>
    
    Code (markup):
    In this example, http://example.com, should be replaced by a server side tag that generates the perms link to your post.
     
    DogDice, Jun 23, 2012 IP
  3. arvi2012

    arvi2012 Active Member

    Messages:
    267
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    58
    #3
    My blogger platform is blogspot.....u can view my blog from my signature below.....actually i need to put the code for every individual post....
     
    arvi2012, Jun 23, 2012 IP