@Douglerner
In “Social Networks” > Facebook, fill in your default image for Facebook and Twitter which will be used for all of your site.
If you want to customize the images for FB, with something different on each post/page, in the tab below the edit panel, in AIOSEO settings > Social > you can select a different image for that post/page.
All this will be automatically added and updated as ChatGPT suggested. No need to go into code.
Also, please make sure you have the Weaver settings set to what you want regarding images and text (excerpt or full).
Please also read my added text on my last reply regarding all this.
Regards.