WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
Publicize: Custom Facebook / Twitter Messages via filters? (3 posts)

  1. Raam Dev
    Member
    Posted 5 months ago #

    I'd like to customize the Publicize messages that get sent to Twitter and Facebook so that each one is different (the Facebook message, for example, would contain more text as it doesn't have the tight character limits that Twitter has).

    I found an article called Customizing Publicize Sharing Behavior on vip.wordpress.com that mentions two filters I can attach to:

    Twitter:

    $status_update = apply_filters( 'publicize_twitter_message', $message, $post, $url );

    and Facebook:

    $status_update = apply_filters( 'publicize_facebook_message', $custom, $post, $url );

    However, searching the Jetpack codebase for those filters turns up nothing. Are those filters only available on WordPress.com? And if so, is there any way to accomplish the same thing with the Jetpack plugin?

    https://wordpress.org/plugins/jetpack/

  2. Richard Archambault
    Happiness Engineer
    Plugin Author

    Posted 5 months ago #

    Hi! I opened a github issue for this here:

    https://github.com/Automattic/jetpack/issues/461

    Thanks!

  3. Texan78
    Member
    Posted 4 months ago #

    I will be following this tread too.

    I need the exact same thing as well. I would like to be able to set the default messages based off the title and messages and not have to edit it each time.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags