Title: Image nit showing: post to LinkedIn using http or https address
Last modified: November 9, 2017

---

# Image nit showing: post to LinkedIn using http or https address

 *  Resolved [basdebruin](https://wordpress.org/support/users/basdebruin/)
 * (@basdebruin)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-nit-showing-post-to-linkedin-using-http-or-https-address/)
 * Hi team
 * When I auto publish to LinkedIn the featured image from my post is not visible
   in Linkedin. I have tested to just copy/paste the link to the LinkedIn post box(
   top of the feed) and what I see is:
    – using [http://mydomain.nl/mypost](http://mydomain.nl/mypost)–
   does show the image – using [https://mydomain.nl/mynewpost](https://mydomain.nl/mynewpost)–
   does NOT show the image
 * You have to take care with testing because of the LinkedIn caching. If you first
   try the https variant, the http will not work afterwards. So, for every test 
   I made a new local post.
 * I am wondering if the plugin is posting the http or https address to LinkedIn,
   it looks like it is using the https variant as the image is not showing.
 * Is there anything I can do to make the plugin post http (non secure) addresses
   to LinkedIn?
 * Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fimage-nit-showing-post-to-linkedin-using-http-or-https-address%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-nit-showing-post-to-linkedin-using-http-or-https-address/#post-9668374)
 * Make sure your redirect URL set in your LinkedIn application is the HTTP address
   as shown on the plugin settings page – regardless of whether you have an HTTPS
   website or not. Re-authenticate again. The plugin uses the image link provided
   from the standard WordPress function which gets the featured image of the post,
   this could be HTTP or HTTP depending on whatever your website uses. I have tested
   the plugin on HTTPS and HTTP and works fine.
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-nit-showing-post-to-linkedin-using-http-or-https-address/#post-9668377)
 * For your reference the plugin uses the standard WordPress get_the_post_thumbnail
   function: [https://developer.wordpress.org/reference/functions/get_the_post_thumbnail_url/](https://developer.wordpress.org/reference/functions/get_the_post_thumbnail_url/)
   which is whatever the featured image link happens to be, the plugin doesn’t muck
   around with this and set this to HTTP or HTTPS.
 *  Thread Starter [basdebruin](https://wordpress.org/support/users/basdebruin/)
 * (@basdebruin)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-nit-showing-post-to-linkedin-using-http-or-https-address/#post-9668404)
 * Hi there
 * I understand. Did check the redirect URL and re-authenticated. I created two 
   post (same content, different permalink). When I go to Linkedin and copy/past
   the [http://mydomain.nl/mypost](http://mydomain.nl/mypost) it previews fine (
   although without the image). When I use [http://mydomain.nl/mypost](http://mydomain.nl/mypost)
   it does not preview at all. I don’t say this is your plugin, because I am testing
   manually, I only want to know if you are using http or https if bots are available.
 * Thanks
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-nit-showing-post-to-linkedin-using-http-or-https-address/#post-9668438)
 * How can you create 2 posts with different permalink one with HTTP and one with
   HTTPS, and why are you doing this!? Your website is either HTTP or HTTPS; regardless
   the plugin works with both.
 * I already answered the question you asked. I am finding it difficult to understand
   what you are saying and what you are trying to achieve. If you are using a local
   development server the images won’t work because LinkedIn can’t see images that
   are on your local network.
 *  Thread Starter [basdebruin](https://wordpress.org/support/users/basdebruin/)
 * (@basdebruin)
 * [8 years, 7 months ago](https://wordpress.org/support/topic/image-nit-showing-post-to-linkedin-using-http-or-https-address/#post-9668478)
 * I am not using a local development server. The reason I am testing is that I 
   found out LinkedIn does not like when I post a https link from my site. I am 
   testing this by copy / pasting such a link in the post box, and LinkedIn will
   show me “Cannot display preview. You can post as is, or try another link.” Looks
   like LinkedIn does not like my SSL certificate.
 * However, if I do the same with a http link, the preview is loaded (sometimes 
   with and sometimes without an image). Therefore I am wondering what the plugin
   uses to post to LinkedIn (http or https).
 * I don’t have a glue why sometimes I see an image on LinkedIn and sometimes not,
   do you have any idea why this can happen?

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Image nit showing: post to LinkedIn using http or https address’ is closed
to new replies.

 * ![](https://ps.w.org/wp-linkedin-auto-publish/assets/icon.svg?rev=1563043)
 * [WP LinkedIn Auto Publish](https://wordpress.org/plugins/wp-linkedin-auto-publish/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-linkedin-auto-publish/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-linkedin-auto-publish/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [basdebruin](https://wordpress.org/support/users/basdebruin/)
 * Last activity: [8 years, 7 months ago](https://wordpress.org/support/topic/image-nit-showing-post-to-linkedin-using-http-or-https-address/#post-9668478)
 * Status: resolved