Hi Thanks for your speedy reply.
I implemented the code and it fixed the linkedin share. I hadn’t realised that the issue was there with the linkedin share aswell.
I think you may have missed that the original issue was with the twitter share. Can you provide the code for that?