Yoast / wordpress-seo

Yoast SEO for WordPress
https://yoast.com/wordpress/plugins/seo/
Other
1.77k stars 890 forks source link

Make og meta of unpublished post available for facebook scrapper #5783

Closed pawawat closed 7 years ago

pawawat commented 8 years ago

What did you expect to happen?

I would like og meta of unpublished post ( for example future post ) to be available for facebook scrapper

What happened instead?

when I make a future post, facebook scrapper found 404 on that url

How can we reproduce this behavior?

make a future post and go to https://developers.facebook.com/tools/debug/og/object/ and then parse that future post's url, try fetching new scrape information

Technical info

Rarst commented 8 years ago

Native scheduled posts are not meant to be visible and are not publicly displayed by WP.

Could you please elaborate why do you expect facebook bot to be able to access one?

pawawat commented 7 years ago

For example, I would like to schedule post that have a url, let say, http://www.test.com/post1, to be published on tomorrow, 2:00PM, and then go to facebook paste this link and schedule it to be published on facebook page on tomorrow, 2:15PM.

So, wordpress have to allow facebook scrapper to peek some og meta of the unpublished post

Rarst commented 7 years ago

But facebook would not see any post at all, it would just get 404 since it doesn't "exist" yet in published/accessible state.

I think you would need to somehow handle this at all and then move towards plugin working with it.