Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8364213
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:22:43+00:00 2026-06-09T12:22:43+00:00

I am using this block of code for getting my followers: $trends_url = http://api.twitter.com/1/statuses/followers/myname.json;

  • 0

I am using this block of code for getting my followers:

    $trends_url = "http://api.twitter.com/1/statuses/followers/myname.json";
    $ch = curl_init();
    curl_setopt($ch, CURLOPT_URL, $trends_url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    $curlout = curl_exec($ch);
    curl_close($ch);
    $response = json_decode($curlout, true);
    foreach($response as $friends){ 
       echo $friends['name'];
    }

The problem is, that I can’t get the whole list, just 100 followers. Is there any way to get all people which follows me?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:22:44+00:00Added an answer on June 9, 2026 at 12:22 pm

    Paging has been implemented using the cursor parameter. Your initial request should look like:
    http://api.twitter.com/1/statuses/followers/myname.json?curosr=-1

    The response will have a parameter containing the value of the next cursor.

    Example:

    { ...
      "next_cursor" : 1408398970289681313,
      "next_cursor_str" : "1408398970289681313",
      "previous_cursor" : -1409120171445568880,
      "previous_cursor_str" : "-1409120171445568880"
    }
    

    You will need to make additional calls using the cursor identifier returned from each response.

    Your next request would look like:

    http://api.twitter.com/1/statuses/followers/myname.json?curosr=1408398970289681313

    You can also include the count parameter with each request to specify the total records returned.

    Twitter API Wiki:

    https://dev.twitter.com/docs/api/1/get/statuses/followers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using this block of code to mimic the way files are uploaded:
I seem to be using this block of code alot in Python. if Y
I am using the Mongo Ruby driver and have this block of Ruby code
I'm using Drupal 7. And i created a block and embed this code: $contents
Using this page, http://developer.android.com/sdk/compatibility-library.html , I have installed the Android Support Package, added a
this is my coding part this is my code block I'm getting System.Runtime.InteropServices.SEHException @
I have this json string by getting a response from using singleton client(RestKit). [
I am using jquerymobile ,this code shows list with the colors of data-theme (black),
I much prefer using this 'embedded' style inserts in a pl/sql block (opposed to
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.