嗨我想在python脚本上分享我关于linkedin的帖子我尝试使用许多脚本但获得授权错误“您必须通过身份验证才能访问此页面。”
import oauth2
import oauth2 as oauth, urllib
import requests
import urllib
API_KEY = 'xxxxxxxxxxxxx'
API_SECRET = 'xxxxxxxxxxx'
param = {'response_type':'code', 'client_id':'xxxxxxxxxxx', 'redirect_uri':'http://localhost:8069', 'state':'987654321'}
file_one = requests.post('https://www.linkedin.com/oauth/v2/authorization?', params = param)
print "access token info file",file_one
print "access token info file.text",file_one.text
它返回错误,例如“您必须通过身份验证才能访问此页面”我该怎么做 我也想要谷歌加上