The code for these is provided by each company free of charge.
Note that the FB feed does not display on mobile, so you will want to add a direct link to your FB page either above or below the feed.
The X/Twitter feed will be empty unless you pay extra for a verified account. Consider sharing a link to your X/Twitter page instead.