Title: Get Authorisation Code and Access Token
Last modified: August 29, 2017

---

# Get Authorisation Code and Access Token

 *  Resolved [basgruyters](https://wordpress.org/support/users/basgruyters/)
 * (@basgruyters)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/get-authorisation-code-and-access-token/)
 * Hi there when i want to ‘Get Authorisation Code and Access Token’ and wan to 
   acces and click ‘allow’ i ge the message ‘Bad Request – Invalid Hostname
 * HTTP Error 400. The request hostname is invalid.
 * It says the url is not safe… What now? Thanks! Bas
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fget-authorisation-code-and-access-token%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/get-authorisation-code-and-access-token/#post-9452551)
 * Hi there,
 * Does the URL in your application match what is provided in the plugin settings.
   When I visit your site I get an SSL warning. So I can’t even reach your site.
   I suspect this is the same issue which is being encountered by the LinkedIn API.
   Thanks,
 *  Thread Starter [basgruyters](https://wordpress.org/support/users/basgruyters/)
 * (@basgruyters)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/get-authorisation-code-and-access-token/#post-9471699)
 * Hi sorry for the delay but I have a SSl hosting now but now i get the message‘
   the application is disabled’
 * [https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=86dflfcnn911zy&redirect_uri=https%3A%2F%2Fclient-sites.nl%2Fnunner%2Fwp-admin%2Fadmin.php%3Fpage%3Dwp_linkedin_auto_publish&state=nQqPg7AJaBNGYdZObW3U8](https://www.linkedin.com/oauth/v2/authorization?response_type=code&client_id=86dflfcnn911zy&redirect_uri=https%3A%2F%2Fclient-sites.nl%2Fnunner%2Fwp-admin%2Fadmin.php%3Fpage%3Dwp_linkedin_auto_publish&state=nQqPg7AJaBNGYdZObW3U8)
 *  Thread Starter [basgruyters](https://wordpress.org/support/users/basgruyters/)
 * (@basgruyters)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/get-authorisation-code-and-access-token/#post-9471712)
 * It works now! I have my profile but i want to use the feed from Nunner this [https://www.linkedin.com/company/5214685/](https://www.linkedin.com/company/5214685/)
 * BR Bas
 *  Plugin Author [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * (@northernbeacheswebsites)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/get-authorisation-code-and-access-token/#post-9471783)
 * Hi, please watch the setup video on the plugin page on how to connect to a company
   page on LinkedIn. You can only Post to a page you manage. If you experience technical
   issues with the plugin please create a support ticket.

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

The topic ‘Get Authorisation Code and Access Token’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [Northern Beaches Websites](https://wordpress.org/support/users/northernbeacheswebsites/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/get-authorisation-code-and-access-token/#post-9471783)
 * Status: resolved