duanjuan1103 2015-08-08 07:11
浏览 62

如何使用访问令牌在linkedin中获取用户配置文件

I have used LinkedIn API to make registration call in my website, so when user get registered by linked in i am storing their all detail including LinkedIn Id, LinkedIn URL, and access token

Now I want to fetch their Linked latest detail again by cron but as you know i can't redirect to login page of linked in again.

But as i have access token and linked Id so how can I fetch the user detail on behalf of access token or user Id without let to the login page of linked in

I am stuck at this point from last two days, all you precious help is welcome

  • 写回答

1条回答 默认 最新

  • dongqijuan3786 2015-08-19 22:56
    关注

    Once you have an access token for a user, you can make any API calls on their behalf by following the process outlined here:

    https://developer.linkedin.com/docs/oauth2#requests

    Note that access tokens expire after 60 days, unless you refresh them. Details on refreshing the tokens are here:

    https://developer.linkedin.com/docs/oauth2#refresh

    评论

报告相同问题?

悬赏问题

  • ¥20 搭建pt1000三线制高精度测温电路
  • ¥15 使用Jdk8自带的算法,和Jdk11自带的加密结果会一样吗,不一样的话有什么解决方案,Jdk不能升级的情况
  • ¥15 画两个图 python或R
  • ¥15 在线请求openmv与pixhawk 实现实时目标跟踪的具体通讯方法
  • ¥15 八路抢答器设计出现故障
  • ¥15 opencv 无法读取视频
  • ¥15 用matlab 实现通信仿真
  • ¥15 按键修改电子时钟,C51单片机
  • ¥60 Java中实现如何实现张量类,并用于图像处理(不运用其他科学计算库和图像处理库))
  • ¥20 5037端口被adb自己占了