birtona / rent-a-role-model

Connecting teachers with female IT role models
9 stars 8 forks source link

For the list, get data on the spot #3

Open Bumbledebee opened 10 years ago

Bumbledebee commented 10 years ago

recommendation from the xing developer to fetch data the moment you look at it, as peoples' profiles will change over time and we do not want to show the old stuff we had stored in the database some while ago

birtona commented 10 years ago

Good idea!

Bumbledebee commented 10 years ago

instead of getting it when page is loading we could also make an automated task that updates the database once a day (at night of course :) )

optikfluffel commented 10 years ago

do you know if we have to store the access_token for that?

johanness commented 10 years ago

I now think it is a good idea to store the data in the database and have it refreshed by a daily cronjob, like Bumbledebee suggests. The access_token must be saved for this.

I would also remove the users whose access_token has been revoked.

birtona commented 10 years ago

that sounds good!