E
E
ermilovroman2016-01-13 07:03:43
PHP
ermilovroman, 2016-01-13 07:03:43

Can I login to someone else's site via twitter using php (curl)?

Is it possible to do this and what would be the procedure?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Nikolaevich, 2016-01-24
@north_leshiy

Why use Curl? Try it with PhantomJS .
You put nodeJS, phantom on the machine and emulate the browser in a few lines, pressing the necessary buttons, etc.
If you still need to make friends with PHP, then you run the phantom command through some kind of php_exec .
Through Curl, it will either fail, or you will be messing around longer. Although if possible, it will probably be somewhat faster, the phantom is not as fast as one might want.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question