BP Activity Link Preview Rest Api – Activity Data

Get Started

You can retrieve Activity Link Preview data through the BuddyPress/BuddyBoss Activity REST API at the endpoint:
wp-json/buddypress/v1/activity.

In the response, look for the bp_activity_link key — it holds all the details of the link preview, including the title, description, and image.

{ 
    "user_id": 1, 
    "component": "activity", 
    "content": { 
        "rendered": ""
    },
    "date": "2023-04-26T07:44:58", 
    "date_gmt": "2023-04-26T07:44:58", 
    "id": 802,
    "link": [ 
        { 
            "http://buddypress.local/activity/p/802/"
        }
    ],
    "primary_item_id": 0, 
    "secondary_item_id": 0, 
    "status": "published",
    "title": "admin posted an update",
    "type": "activity_update", 
    "favorited": false, 
    "user_avatar": 
    { 
        "full": "http://buddypress.local/wp-content/uploads/avatars/1/1663828147-bpfull.jpg", 
        "thumb": "http://buddypress.local/wp-content/uploads/avatars/1/1663828147-bpthumb.jpg"
    }, 
    "bp_activity_link":
    {
        "url": "https://www.youtube.com/watch?v=-0yC0f-lm2o&t=58s&ab_channel=WbcomDesigns", 
        "title": " " 
    },
    "_links":
    {
        "self": [
            {
                "href": "http://buddypress.local/wp-json/buddypress/v1/activity/802"
            }
        ],
        "collection": [
            {
                "href": "http://buddypress.local/wp-json/buddypress/v1/activity/"
            }
            ], 
        "user":
        [
            {
                "embeddable": true,
                "href": "http://buddypress.local/wp-json/buddypress/v1/members/1"
            }
        ]
    }
}
Last updated: September 10, 2025