jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

Sharing: Custom Excerpts not included in Publicize action

Open tmmbecker opened this issue 6 years ago • 25 comments

From 4242-GH-jpop-issues, site is not sharing custom excerpt due to what appears to be a timing issue. The post seems to have been published before we could save meta data to it in the editor (i.e. before an autosave or a manual save as a draft).

Scheduling and resharing work fine as does saving as a draft and then publishing. But creating a post and immediately publishing and sharing prevents the custom excerpt from being included in the share.

We were not able to replicate and this seems, for now, to be specific to one site. They do not have this problem with other sites on the same server.

tmmbecker avatar Jan 07 '20 21:01 tmmbecker

I noticed something similar to this today on my blog, sensible.blog

  1. Drafted a post, saved
  2. I edited the text in “Jetpack” icon tab in editor sidebar
  3. Then I published with the button in the editor (not scheduled)

When I view the post on Twitter and LinkedIn, the custom text I wrote doesn’t appear. Why?

It only shows the title of the post and not my custom excerpt.

lancewillett avatar Mar 02 '20 18:03 lancewillett

See also https://github.com/Automattic/wp-calypso/issues/34002

lancewillett avatar Mar 02 '20 18:03 lancewillett

I've noticed this as well on a recent blog I just started. My custom twitter message is ignored. Both times I tried this it failed to post the custom message. I can't remember the first instance, but the last one I edited the message then clicked on Publish. I will try again with another post in a few days with a "Save draft", exit the post, re-open, check the custom message is still saved, then try publishing it. Not sure what else to try.

nickpagz avatar Jun 12 '20 16:06 nickpagz

User report 3065021-zd

Similar issue reported for JP here, but looks like it was not consistently reproduced https://github.com/Automattic/jetpack/issues/11752

Some other WP.com simple sites noted there too.

nagpai avatar Jun 20 '20 05:06 nagpai

Workaround suggested by @marutim

  1. Write the post.
  2. Write the custom message for Twitter.
  3. Hit the "Save draft" and wait for a confirmation message that the draft has been saved.
  4. Hit the "Publish" button only after seeing confirmation that the draft is saved.

nagpai avatar Jun 20 '20 05:06 nagpai

I have a case here. The user is clicking Save Draft prior to publishing, but still doesn't get the custom message each time: https://wordpress.com/forums/topic/twitter-posting-is-busted-with-block-editor/

supernovia avatar Jul 06 '20 20:07 supernovia

I have just re-tested this in detail and I can confirm that the custom social media excerpt will not work:

Default Excerpt + Custom Excerpt (default excerpt is shown) https://claragomez.es/2020/07/28/twitter-card-preview-test/ Screen Shot on 2020-07-28 at 11:42:44

No Default Excerpt + Custom Excerpt (post content is shown) https://claragomez.es/2020/07/28/twitter-card-preview-test-no-excerpt/ Screen Shot on 2020-07-28 at 11:43:59

No Default Excerpt + Custom Excerpt + Saved Draft after having entered Custom Excerpt: https://claragomez.es/2020/07/28/twitter-card-preview-test-no-excerpt-saving-as-draft-after-adding-custom-message/ Screen Shot on 2020-07-28 at 11:44:49

Interestingly enough, in this last case the text will be used for the content of the tweet/publication, but not on the Card itself.

I have provided Twitter examples but the same happens on Facebook Cards.

mrfoxtalbot avatar Jul 28 '20 09:07 mrfoxtalbot

related or possibly duplicate issues:
https://github.com/Automattic/jetpack/issues/11752 https://github.com/Automattic/jetpack/issues/14269 https://github.com/Automattic/wp-calypso/issues/34002 45114-core <-- likely the root issue

cathymcbride avatar Aug 06 '20 13:08 cathymcbride

Thanks for the recap @cathymcbride! It looks like this just came up again in the core patch: 45114-core#comment:25 Until that is fixed, there is not much we can do.

davemart-in avatar Aug 06 '20 17:08 davemart-in

Another report in #3266692-zen

kriskarkoski avatar Sep 02 '20 14:09 kriskarkoski

Another report that originally came to us on Twitter at #3256787-zen

lizkarkoski avatar Sep 02 '20 16:09 lizkarkoski

The reporter from #3256787-zen added:

My blog headers are not the specified size for a featured image, and worked perfectly well before the UI started specifying a size for optimal headers. Could this be an issue?

I will be typing my custom text into the Twitter card box and the UI will reload. This happens without fail on every attempt. Could this also be an issue?

They tried posting in Firefox, without extensions, to no avail

  • Continued to try and post in Chrome, to no avail
  • Tried the saving as draft feature, to no avail

*The site is using a retired theme. Would that be a factor?

ChrissiePollock avatar Sep 05 '20 18:09 ChrissiePollock

Another report in #3246138-zen

eduardozulian avatar Sep 12 '20 11:09 eduardozulian

Another report in #3365266-zen. I tested the workaround mentioned by @marutim here and that works for my test site. Asked user to do the same.

kylemcph avatar Oct 02 '20 12:10 kylemcph

This issue just came up again from #3365266-zen / #25043080-hc, who was a little frustrated with the manual workaround. I've let them know we're still working on this.

geekinthegirl avatar Nov 13 '20 10:11 geekinthegirl

@jeherve it looks like the core bug has been fixed with an API update 🎉. Should this come JPs to fix now?

cathymcbride avatar Nov 13 '20 13:11 cathymcbride

Should this come JPs to fix now?

We should indeed be able to benefit from the change in https://core.trac.wordpress.org/changeset/49172 , although since Jetpack will support WordPress 5.5 until WP 5.7 comes out, we'll need to handle both versions for a while longer.

I updated both linked Jetpack issues accordingly.

jeherve avatar Nov 16 '20 14:11 jeherve

Just mentioning another case here: #3732408-zen

NoHopeRadio avatar Feb 14 '21 18:02 NoHopeRadio

Possibly related 3741014-zen

mrfoxtalbot avatar Feb 15 '21 10:02 mrfoxtalbot

Potentially another case in 4030166-zen when sharing to LinkedIn

kriskarkoski avatar Jun 03 '21 12:06 kriskarkoski