Jetpack posts full text on Facebook
-
Hello,
Jetpack started to post the whole article instead of title and link on my facebook page. Site: https://prettylittleliarsdaily.net/
Facebook: https://www.facebook.com/prettylittleliarsdaily.netI prefer only title + short link to the article. How to fix this ? Thanks ??
-
Hi there! Can you provide me with links to specific posts that you noticed this issue with? Then I can take a look, and see what’s going.
Thanks!
I’ve never had a problem with publicize posting to Facebook before, but all of a sudden today when I post, instead of posting the title with a short URL, it’s jumbling up the whole dang post. I’m having to go in and manually edit them all, and it’s seriously affecting my views!
what they used to look like:
https://everyonelovescouponing.com/wp-content/uploads/2015/05/11355572_10203927514895552_120882130_n-1.jpgwhat they now look like:
https://everyonelovescouponing.com/wp-content/uploads/2015/05/11297923_10203927503175259_829178701_n.jpgI read on another thread this was an intentional change they were making. So more than likely we just have to find something new to use.
Really? This is an intentional change? What an odd decision.
Thank you all for the feedback! We’ve recently updated Publicize to make it more customizable. Using the Title, Custom Message, and Excerpt fields, you can customize the way your posts get shared to Facebook. You can find a cheatsheet that shows the corresponding fields here:
https://mikey.link/1l6WZ/3QZpzCMKI hope this helps to clear things up!
So, the solution is to use the Custom Message?
Yes, that’s correct.
It would be ideal to be able to set up the default message. (ie: #title #content #excerpt)
That’s on our radar! Here is the related GitHub issue:
https://github.com/Automattic/jetpack/issues/261My personal suggestion would be to go back to the title as the default (if no Custom Message is used) and add the ability to set a custom default.
Up until last week, posts published to Facebook by Publicize could look differently based on where the posts got published:
- If Publicize was set to publish on a Facebook Profile, an excerpt was automatically added to the post. Here is an example: https://i.wpne.ws/bEGa
- If Publicize was set to publish on a Facebook Page, that wasn’t possible, and you only got the post title and a link, like so: https://i.wpne.ws/bCho
Since Facebook recently made changes to their Graph API, we were able to start pushing more content to Facebook Pages as well. That’s why we made the update, as Facebook posts including more content (like an excerpt) are more likely to attract the eyes of your Facebook fans.
I understand that it’s not what you want, though; you’d prefer the posts to only include a title and a link, and nothing else.
We clearly need to add a way for you to go back to the previous behaviour. We’re considering adding a filter that would allow you to do just that. You can follow our progress on this here:
https://github.com/Automattic/jetpack/issues/565Until we implement that option, I’m afraid you’ll need to use another plugin like SNAP, or take the extra step of editing the custom message for each post.
Sorry for the inconvenience!
I’ll post again here as soon as we make progress on any of the 2 GitHub issues I mentioned above.
Thank you for the detailed response.
It would be ideal to be able to set up the default message. (ie: #title #content #excerpt)
That’s on our radar! Here is the related GitHub issue:
https://github.com/Automattic/jetpack/issues/261Sorry, I didn’t mean to make those look like hastags. My suggestion would be to be able to set the default message where <title> would be replaced by the post title, <excerpt> replaced by the post excerpt, <url> replaced with the post link, etc. In my mind, that would be ideal.
My suggestion would be to be able to set the default message where <title> would be replaced by the post title, <excerpt> replaced by the post excerpt, <url> replaced with the post link, etc. In my mind, that would be ideal.
Yes, that’s what the templating system would allow. Once it’s in place, you’d be able to build the message you need, and include the data you want, be it a post title, a list of hashtags, an excerpt, or maybe a prefix before the post title.
A workaround for publicize posting the whole article on facebook:
function set_title_publicize () { global $post; $title = get_the_title( $post->ID ); update_post_meta( $post->ID, '_wpas_mess', $title ); } add_action('the_post', 'set_title_publicize'); add_action('save_post', 'set_title_publicize'); add_action('draft_to_publish', 'set_title_publicize'); add_action('new_to_publish', 'set_title_publicize'); add_action('pending_to_publish', 'set_title_publicize'); add_action('future_to_publish', 'set_title_publicize');
Put this code in functions.php and post title will show instead of whole text next time an article is posted on facebook.
Any new development about this problem?
@oshaneu We have made no progress about this templating system I talked about earlier. You can follow our progress here:
https://github.com/Automattic/jetpack/issues/261@bbonev does this code work? Where should i add it?
Hi @efra_zorrito, you can put it in your theme’s functions.php
What this code does is it creates a new row in the wp_postmeta table with value = $title. The key (‘_wpas_mess’) is usually used to store the contents of the Custom message field and the code just creates the row upon post save/publish/delayed publish. When jetpack sends content to facebook for publishing, it checks if such a field exists and uses it.
I haven’t tried what is posted to facebook if I actually enter something in the Custom message field, because the site I use this code on has a lot of content that is usually not published by me and nobody on the team is willing to post a custom message for 20+ articles posted daily.Let me know if this code works for you ??
- The topic ‘Jetpack posts full text on Facebook’ is closed to new replies.