G
G
GrimJack2017-02-18 15:32:27
Laravel
GrimJack, 2017-02-18 15:32:27

Is it possible to log in and show the content of the "personal account" of another site using php?

Laravel is in the tags because the development will be on it and something similar may already exist.
As I understand it, you need a curl for this, right?
I’ll explain using VK as an example, but the idea is different:
-authorize in service A through your VK account
-php script logs in to VK using your data and displays messages, for example.
Actually, this is the whole task. As I understand it, Kurl will cope with this? And is it possible to make some kind of cache so that when the page is updated or something else there is no permanent new login, recording the session in the database and then trying to use it, if it doesn’t fit, then log in again or something like that?
PS I know about the existence of api, but in this case it does not exist.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Skobkin, 2017-02-18
@skobkin

CURL will handle this, but your site will be slow. It's better not to do that. Well, or pass authentication on an external resource once, and then remember it and not make requests to an external server without the need.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question