Mar 15th, 2012, 11:24 AM
Accessing Social data
this is another, hopefully my last, really simple question, and it relates to best practice using SpringSocial.
I have setup the LinkedIn integration on a web app that I am developing and having let my users authorize the app to access LinkedIn, I want to use some of the data in the users LinkedIn profile as part of the users public profile on the site.
Whats the best (practice) approach? everytime someone accesses a users public profile, should the app connect to LinkedIn using the viewed user's (the user whose profile is being viewed) access token etc and retrieve the latest LinkedIn profile data required? or is it better to persist the users linkedIn profile when the viewed user first authorizes the app to use linkedin and then only refresh when the user nexts logs in/requests to update the data?