Reply To: Inserting activity content via plugin
Having re-looked over your code for bp_activity_add() above, try setting the activity type to new_blog_post
For example:
$activity_id = bp_activity_add( array(
'action' => 'A link from NewsSite', // The activity action - e.g. "Jon Doe posted an update"
'content' => $post_content, // Optional: The content of the activity item e.g. "BuddyPress is awesome guys!"
'component' => false, // The name/ID of the component e.g. groups, profile, mycomponent
'type' => new_blog_post, // The activity type e.g. activity_update, profile_updated
'primary_link' => 'false', // Optional: The primary URL for this item in RSS feeds (defaults to activity permalink)
'user_id' => bp_loggedin_user_id(), // Optional: The user to record the activity for, can be false if this activity is not for a user.
'item_id' => false, // Optional: The ID of the specific item being recorded, e.g. a blog_id
'secondary_item_id' => false, // Optional: A second ID used to further filter e.g. a comment_id
'recorded_time' => bp_core_current_time(), // The GMT time that this activity was recorded
'hide_sitewide' => false, // Should this be hidden on the sitewide activity stream?
'is_spam' => false // Is this activity item to be marked as spam?
), );