Social Share and Metadata in Blockcerts

Can anyone offer advice/explanation on how the data needs to be inserted into your certificates to display the social share buttons and the metadata. I think it needs to be under metadataJson but haven’t had much success.