Hello. In our project on demand, we refresh data from social networks. Once we refresh data, next change profile picture in LinkedIn and than refresh data again (in some time ~30mins) But oneAll returns old data all the time. Could you take a look whats wrong?
In our project, we give a user an opportunity to login via one of connected to them social networks. So does it mean if user login via one social network only the social network's info will be updated?
Hello, So in general it works if I use `'identities/{}/synchronize.json'.format(identity['identity_token']), method='PUT'` but in Linkedin, it doesn't. I still receive old profile picture of the profile (what is 404 in general)
Answers
Social data is refreshed when the user logs in with his social account.
How do you refresh the data on demand?
Thanks
You can also synchronize the data without having the user login in by using the following endpoint:
http://docs.oneall.com/api/resources/identities/synchronize-identity/
So in general it works if I use `'identities/{}/synchronize.json'.format(identity['identity_token']), method='PUT'`
but in Linkedin, it doesn't. I still receive old profile picture of the profile (what is 404 in general)
When the user logs, the LinkedIn profile is refreshed, including the profile picture (you can try it with your profile).
(The synchronize data endpoint does not seem to work for LinkedIn... Looking into it)
Regards
Please upadte me if you'll do any improvements
The snychronize endpoint API does not currently support LinkedIn.
We'll add it to our todo list, and keep you updated.
any updates? That's crucial for us ;-)