Unfortunately, the only way to resolve this is to check the bot user agent and send it a static version. According to this , the LinkedIn bot user agent:
LinkedInBot/1.0 (compatible; Mozilla/5.0; Jakarta Commons-HttpClient/3.1 +http://www.linkedin.com)
source share