# Add website - LinkedIn

To add a LinkedIn platform posting profile to AIKTP, go to the AIKTP -> Website menu or quickly click the link <https://aiktp.com/websites>

Then click the "**Add Website**" button, in the popup that appears choose the LinkedIn platform&#x20;

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FSl4dRSxOjNyhXp1LPHpV%252Fimage.png%3Falt%3Dmedia%26token%3Deaf70d96-fb5a-4b00-bdd4-d3e1ff06d03e&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=f09aafdb&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Then click "**Next**" to proceed with adding **LinkedIn**&#x20;

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252F1FJ7qgRUvbZwZRkY52dK%252Fimage.png%3Falt%3Dmedia%26token%3Dc1adf89a-cfc7-4aab-a221-a58b64b9a81d&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=9ec465f4&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

> Note: LinkedIn only allows posting from an application to a Page. You cannot post to a personal profile. Therefore you need to create two things: an App and a Page.
>
> * A LinkedIn App is similar to a Facebook App.
>
> * A LinkedIn Page is like a Facebook Fanpage

### Guide to creating a LinkedIn App

To create a LinkedIn App, go to <https://developer.linkedin.com/> and click Create App

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FJ5HjdfdQFxnFbJmF5Tvp%252Fimage.png%3Falt%3Dmedia%26token%3D57a3efef-0606-4112-9b35-833f208b6113&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=22f70c1f&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Fill in the App information&#x20;

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FaZfVJxCkQiSgPVHDJVeq%252Fimage.png%3Falt%3Dmedia%26token%3Db3021afa-0ef7-4675-b814-69ac606c0c21&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=6341547b&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

{% hint style="info" %}
If you don't have a LinkedIn Page yet, you need to create one. If you already have a LinkedIn Page you only need to provide the page URL
{% endhint %}

After creating the app, you need to request the Share on LinkedIn permission by clicking the Request Access button

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FMt3NTzhi2QtxzAYBWNWP%252Fimage.png%3Falt%3Dmedia%26token%3Ddbad208e-db37-424d-8059-fd71b0ec7cd8&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=3e57be43&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Requesting the Share on LinkedIn permission allows you to post to a LinkedIn page.&#x20;

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FB8unovKbsPrhu3EKucFv%252Fimage.png%3Falt%3Dmedia%26token%3D6e9f66dc-61f6-43ad-aab8-3a69c429aba6&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=3bd61922&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

After completing the permission request, click the Auth tab and the pencil icon

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FQfOJ9kvadUNlNtdTRIGw%252Fimage.png%3Falt%3Dmedia%26token%3Da6d35b39-5162-40c1-bc3a-8181bfeab204&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=2092cc3c&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

In the "Authorized redirect URLs for your app" field enter the following 2 links:

```
// the following 2 links
https://aiktp.com/callback/linkedin.php
https://www.linkedin.com/developers/tools/oauth/redirect
```

The result after adding will look like this:

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FY5Dn8gQ2pqA4gDTrghV2%252Fimage.png%3Falt%3Dmedia%26token%3D3845aa12-7bca-453f-825f-b42c4358179e&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=426d0c01&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Next you need to create a Token by clicking the link **OAuth 2.0 Tools**

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252F2kW2Spd0Y9MlDP3SpRKf%252Fimage.png%3Falt%3Dmedia%26token%3D990a8406-53b8-4650-9e06-604c3f3b9671&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=4cc06dd2&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

On the next screen, click the **Create Token**

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FOXQEaJFeY3XOiS7zVuMZ%252Fimage.png%3Falt%3Dmedia%26token%3Df1031330-88fe-4f1f-938f-90928857d458&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=4e7692b2&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Next, select the Select Scopes: w\_member\_social option and click Request Token

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FwJep9C70KefRnCHJi2EP%252Fimage.png%3Falt%3Dmedia%26token%3D0572d557-3d6e-4b6c-97dd-6eaec9e6aab5&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=995f0ec&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Next, LinkedIn will ask you to log in and confirm

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252Fer616lo5EtbzlaW8S4m5%252Fimage.png%3Falt%3Dmedia%26token%3Dd8c4c8cf-577a-4ce0-b647-900487371273&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=397307e4&#x26;sv=2" alt=""><figcaption></figcaption></figure>

Click the Allow button to confirm

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252F5GP6da7s5HKscfvjQncJ%252Fimage.png%3Falt%3Dmedia%26token%3D961c7045-a863-4cc3-9e45-cca17d7b39fc&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=a9f2f3dc&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

After confirming, you will receive a token; copy this token to paste back into aiktp.com

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252Fnzf3fs0MdZp01PXKbBo7%252Fimage.png%3Falt%3Dmedia%26token%3D5d141fbf-fb2d-49ad-adf1-7ce33a98479c&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=24944a97&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Return to the AIKTP screen (<https://aiktp.com/websites>) and paste the token into the Access Token field.

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FvHCoMIOGU9yOF2anFj0P%252Fimage.png%3Falt%3Dmedia%26token%3D783bb533-e7b0-462e-9a60-e7df6f3eb4e5&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=7bf332d0&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

In addition to the access token, you need to add the LinkedIn Company URL which is the Company URL you used when creating the app

<figure><img src="https://vn.docs.aiktp.com/~gitbook/image?url=https%3A%2F%2F1177439721-files.gitbook.io%2F%7E%2Ffiles%2Fv0%2Fb%2Fgitbook-x-prod.appspot.com%2Fo%2Fspaces%252FIrDzZoxFTl0oRehGw6bJ%252Fuploads%252FBEzclwQM0hn4HpPzoneA%252Fimage.png%3Falt%3Dmedia%26token%3Da4d2dab8-c41b-4226-a54c-a9d86fafc47e&#x26;width=768&#x26;dpr=2&#x26;quality=100&#x26;sign=29fa9448&#x26;sv=2" alt="" width="563"><figcaption></figcaption></figure>

Then click the **Verify** button to check and confirm posting permissions.

{% hint style="info" %}
According to LinkedIn's rules, the Access Token will expire after 60 days, so after 60 days you need to create a new Access Token.&#x20;

You only need to recreate the Access Token, you do not need to recreate the App.
{% endhint %}
