Hi @behandlung,
Thanks for reaching out to us.
You can define the content to be shared at the post level by adding content to the “Custom message” field. However, we currently don’t have a UI for setting the default share content. We have an open issue for this, but there is no scheduled timeline for adding it to the plugin.
For now, you can use the autoshare_for_twitter_body
filter to tweak the tweet body content to be shared. For example, if you want to share the post excerpt, you can use the following code snippet to do that:
add_filter(
'autoshare_for_twitter_body',
function( $tweet_body, $post ) {
// Bail if we have a custom message.
$custom_message = get_post_meta( $post->ID, 'autoshare_tweet-body', true );
if ( ! empty( $custom_message ) ) {
return $tweet_body;
}
// If we have an excerpt, use that.
$excerpt = get_the_excerpt( $post );
if ( ! empty( $excerpt ) ) {
$tweet_body = $excerpt;
}
return $tweet_body;
},
10,
2
);
Hope this helps you.
Thank you.