Skip to content

Commit 8d0326d

Browse files
committed
Update README.
1 parent a24d127 commit 8d0326d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Set `LINKEDIN_API_KEY` and `LINKEDIN_API_SECRET`, configure your app to redirect
3535
To connect to LinkedIn as a developer or just to access your own data, you don't even have to implement an OAuth 2.0 flow that involves redirects. You can simply use the 4 credentials that are provided to you in your LinkedIn appliation as part of an OAuth 1.0a flow and immediately access your data. Here's how:
3636

3737
```python
38-
from linkedin import linkedin
38+
from linkedin_v2 import linkedin
3939

4040
# Define CONSUMER_KEY, CONSUMER_SECRET,
4141
# USER_TOKEN, and USER_SECRET from the credentials
@@ -71,7 +71,7 @@ You can also get those keys from [here](http://developer.linkedin.com/rest).
7171
LinkedIn redirects the user back to your website's URL after granting access (giving proper permissions) to your application. We call that url **RETURN URL**. Assuming your return url is **http://localhost:8000**, you can write something like this:
7272

7373
```python
74-
from linkedin import linkedin
74+
from linkedin_v2 import linkedin
7575

7676
API_KEY = 'wFNJekVpDCJtRPFX812pQsJee-gt0zO4X5XmG6wcfSOSlLocxodAXNMbl0_hw3Vl'
7777
API_SECRET = 'daJDa6_8UcnGMw1yuq9TjoO_PMKukXMo8vEMo7Qv5J-G3SPgrAV0FqFCd0TNjQyG'

0 commit comments

Comments
 (0)