E
E
E6APB2017-08-22 15:57:57
JavaScript
E6APB, 2017-08-22 15:57:57

How to update user data from social networks?

I have people accessing the site through social networks. We record their name and ava in the database. But over time, this data becomes irrelevant. How to properly update them? At each entrance (but here it is debatable - users can remember themselves and not exit) or does the task of scheduling in Laravel run every day for each user and update? Or is there a prettier method?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
Y
yastas, 2019-04-26
@yastas

Hey! And write to us in the educational support service of the Practicum, please - we will help. Here https://yandex.ru/support/praktikum/feedback.html there are different options for how to do this, and it will be as cool as possible if you immediately upload the code to pastebin.com, send us a link to it and to the task itself too . Will wait :)

O
okedeen428, 2019-07-07
@okedeen428

I'm also stuck on this task, for the 2nd day I can not understand what the problem is

R
RALMAZ, 2017-08-22
@E6APB

I would use Gearman queues to update as soon as the system can do it without too much load
Any tasks of this type can be shifted to its priority system

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question