error 403 when sharing on facebook

Posted in: Newspaper
Post count: 3


Hi, Support team

I don’t know how to fix this. When I try to use facebook button on the bottom of the page and try to share the article it shows error 403. It appears on my new post ,every new post. The old post works fine.
Do you have any idea how to fix this?

Best regards,
Lip

  • This topic was modified 11 years by lippil.
Post count: 9544

Try the Facebook debug tool on one of your new posts.

Might be a problem with Facebook, or you might have conflicting OG tag data, which you can see by looking at your page source.

Post count: 3

Thanks a lot. Chris S
I try using Facebook debug tool and it shows on the picture.
I’m very new to website and I’m not sure where to fix OG tag data.

Best regards,
Lip

Post count: 9544

I use Yoast WordPress SEO to put in all the OG tags for Twitter and Facebook.

But try the Yoast SEO plugin first (or any of the other “OG Tag” plugins on wordpress.org), which will insert all of that stuff into the meta data for the posts.

The OG (“Open Graph”) tags basically have a custom title tag, description tag, and image link tag, and canonical URL, for Facebook to “grab” from your site.

Post count: 3

You mean this section right?
If yes I already try this but it still shows error 403.
More information. This problem happened after I change my hosting.My older posts work fine.They can share with no error 403.But now I try to add new post and the problem appears.
I’m not sure if it’s about the .htaccess file or something?

Best regards,
Nattpaong k.

Post count: 6600

Hi,

As the message says I suggest you check your error log, if you don’t have access to it contact your host provider and explain this situation.
It looks like a host issue.
This could happen due to various reasons, plugins could cause this also so test this without plugins (empty cache/purge files if you use CDN).
You could also try re-saving your permalink structure or switching to the default one then test again.
Also try this: https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-add-facebook-admin?replies=25

Thanks

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.