That site configuration parameter is best handles by SEO plugins which also implement socials/third party resource control (most do this).
If you like our creations, help us share by rating them on WordPress.org. Please check the available documentation and search the forums before starting a new topic.
If you dont want to use a SEO plugin like Yoast, you can add the OG Meta tags in your header, but without a plugin, it would be difficult to easily have different images for each post: