Authenticate with Linkedin
In order to show LinkedIn feed on stream, you have to generate
Client ID and
Client Secret and put them on Social Streams App settings page. You have to be admin of the LinkedIn page you want to stream. That’s Linkedin requirement.
This is unified guide for all Social Stream Apps including Flow-Flow for WordPress, Flow-Flow PHP Script, Social Stacks for WordPress and all upcoming streaming apps. Here and below by any mention of Plugin or Social Stream App mean one of the apps or plugins listed above.
Register new LinkedIn App
- Head over to https://www.linkedin.com/secure/developer?newapp and log in, if necessary.
- Click on Create Application.
- Enter all required fields. You can use dummy info except
Website URL. Enter URL of website where you want to use plugin.
- Hit Submit.
- Open application edit page and enable
rw_company_adminpermission on Authentication tab.
- Hit Submit again.
Client Secretfrom next page and paste to plugin’s admin page under Auth tab.
Getting Access Token
- Using your LinkedIn app details replace placeholders for next URL:
APP_REDIRECT_URIcan be your site URL.
- After you sign in in Linkedin and click Apply you will be redirected to page you specified as APP_REDIRECT_URI, in its URL you will see parameter
?code=SOME_CODE. Copy and save this code. Please notice that URL also has
&state=DONT_CHANGE_THIS, ignore this part when copying code.
- Now replace placeholders in this URL
- Finally, copy Access code (valid for 60 days) and paste it in Flow-Flow settings