1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

If you're Twitter bot scripts have just stopped following use this

Discussion in 'Twitter' started by jamie3000, Apr 17, 2015.

  1. jamie3000

    jamie3000 Supreme Member

    Joined:
    Jun 30, 2014
    Messages:
    1,414
    Likes Received:
    655
    Occupation:
    Finance coder looking for semi-retirement
    Location:
    uk
    Hi all, twitter following action html and url calls have just changed if you're scripts/bot have just stopped working this is what to do

    First change
    replace follower page search $xpath->query('//*[@data-cursor]//@data-cursor');
    with
    $xpath->query('//*[@min_position]//@min_position');


    Second change
    replace HTTP call https://twitter.com/'.$user_to_scrape.'/followers/users?cursor='.$data_cursor_value.'&cursor_index=&cursor_offset=&include_available_features=1&include_entities=1&is_forward=true


    with

    https://twitter.com/'.$user_to_scrape.'/followers/users?include_available_features=1&include_entities=1&max_position='.$data_cursor_value

    Third change
    replace look for "cursor" in the json with "min_position"

    Hope this saves someone some time :)
     
    • Thanks Thanks x 2
  2. punkinhead

    punkinhead Regular Member

    Joined:
    Feb 19, 2015
    Messages:
    451
    Likes Received:
    35


    I wonder if that is why FollowLiker just stopped following yesterday...

    A MONTH of preparing for a release, and the software just took a dump when the moment came. Still not following at all a day later.
     
  3. jamie3000

    jamie3000 Supreme Member

    Joined:
    Jun 30, 2014
    Messages:
    1,414
    Likes Received:
    655
    Occupation:
    Finance coder looking for semi-retirement
    Location:
    uk
    Could well be, not sure when it changed exactly sometime in last 24 hours
     
  4. majdi107

    majdi107 Senior Member

    Joined:
    Aug 28, 2014
    Messages:
    889
    Likes Received:
    105
    so maybe that's why Follow liker don't follow too much
    it followed just 200 when set it ti follow 900
     
  5. uncguy4321

    uncguy4321 Regular Member

    Joined:
    Jul 10, 2011
    Messages:
    340
    Likes Received:
    120
    Occupation:
    Part time contractor and consultant...but full tim
    Location:
    Parts unknown (eastern US)
    thank you, if i have issues ill use this
     
  6. jamie3000

    jamie3000 Supreme Member

    Joined:
    Jun 30, 2014
    Messages:
    1,414
    Likes Received:
    655
    Occupation:
    Finance coder looking for semi-retirement
    Location:
    uk
    Was it just today/yesterday it did that?
     
  7. majdi107

    majdi107 Senior Member

    Joined:
    Aug 28, 2014
    Messages:
    889
    Likes Received:
    105
    i was unfollowing for the last 3 days and start following just today but don't follow more then 200
     
  8. gtothem

    gtothem Regular Member

    Joined:
    Apr 22, 2011
    Messages:
    249
    Likes Received:
    297
    Occupation:
    Coder
    TSupremacy still works
     
  9. seesounds

    seesounds Junior Member

    Joined:
    Feb 16, 2015
    Messages:
    189
    Likes Received:
    13
    I just started using TS today but for some reason I can't sync my accounts it keeps saying "Sync followers error". Is there something I need to do before syncing or what
     
  10. punkinhead

    punkinhead Regular Member

    Joined:
    Feb 19, 2015
    Messages:
    451
    Likes Received:
    35
    FL is driving me nuts anyway. Some good features, but implemented poorly, and very inefficient.

    Maybe it's this issue. Not sure yet, but I spent a month getting ready for one big release, and it totally crapped out on me when I finally needed it.
     
  11. elev8apparel

    elev8apparel Newbie

    Joined:
    Jun 3, 2014
    Messages:
    22
    Likes Received:
    6
    Gender:
    Male
    Occupation:
    Personal Trainer
    Location:
    WI
    Home Page:
    Thanks punk appreciate it brother.
     
  12. jamie3000

    jamie3000 Supreme Member

    Joined:
    Jun 30, 2014
    Messages:
    1,414
    Likes Received:
    655
    Occupation:
    Finance coder looking for semi-retirement
    Location:
    uk
    Just so everyone is aware changes are also needed for unfollowing
     
  13. indianbill007

    indianbill007 Jr. VIP Jr. VIP

    Joined:
    Jan 8, 2010
    Messages:
    5,171
    Likes Received:
    4,175
    Occupation:
    Making Money when the world is sleeping
    Location:
    Menlo Park - Next to Zuck