Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding tags to head (FB Like Button)

  • Avatar of abyss
    abysshorror
    Member

    @abysshorror

    Hey !

    I’m trying to implement the FB like button for my activities and I want the content shared on Facebook to be the one posted in the activity liked.

    So what I’m trying to achieve is to pass `bp_get_activity_content_body` to an Open Graphic tag: “

    I added a hook in header.php:

    And called it from entry.php:

    I’m sure I’m doing something wrong and I’d appreciate the help :)
    Thanks !

You must be logged in to reply to this topic.