I’m afraid I am not really familiar with BuddyPress. Are activities updates Custom Post Types?
If so, you can use the code you posted above, as long as you know the post type name.
I looked around for “activities updates”, and the closest that I could find was the “Activity Stream” where you can post updates on a BuddyPress installation. Is that what you were referring to?
If so, it doesn’t seem like this is a custom post type, so I’m not sure that would work. You may want to ask in the BuddyPress support forums to be sure.
I hope this helps.
Hi Jeremy Herve,
I have asked on Buddypress forums, hope have an answer to this: https://buddypress.org/support/topic/use-jetpack-publicize-to-publish-activity-updates/
Best regards.
I see you’ve received a reply:
No. Activity items arenβt custom posts; instead, they live in the bp_activity table. See here for a diagram.
Unfortunately that’s bad news. That means you won’t be able to publicize these updates to your Social Networks.
Would be possible add this feature on jetpack? It’s seems I’m not the only one that miss this feature https://buddypress.org/support/topic/add-jetpack-publicize-support-to-activity-stream/
Since you’ve created a GitHub issue about this here, we’ll consider the option and let you know there!
Thanks Jeremy! Hope this helps to others