Well, the idea is this, I'm using API
of Twitter to do user authentication, I'm using the following resource: link .
I used this video to help me authenticate, it's exactly the same: link
The logic:
All users who authorize the application , are subject to following and receiving other followers ... Twitter does not provide this feature, but you can do it using PHP
, Javascript
, JSON
etc ...
My problem
I authenticated some users in localhost, accounts fakes , when authenticating and authorizing the application, screen_name
is saved in a table in banco de dados
, understood? I want to type a roulette, one follows the other automatically.
OBS: I have not found anything in the Twitter terms of use saying it is prohibited. (If I'm wrong, please correct me.)
Help me with logic?
Summarizing the question : How to return data from JSON
with PHP
and then use ajax
to roll this?