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

  • Home
  • SEARCH
  • 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 7958403
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:25:02+00:00 2026-06-04T04:25:02+00:00

I am trying to get the JSON object which will contain tweets of a

  • 0

I am trying to get the JSON object which will contain tweets of a particular handle.

Here is the function I am using to send requests and store response in local storage:

function sendRequest(handle, noOfTweets, boolDisplay){
        $.getJSON("http://search.twitter.com/search.json?q=from:"+handle+"&rpp="+noOfTweets+"&callback=?", function(data) {
        if(boolDisplay){
            displayTweets(data);
        }
        localStorage.setItem("tweets"+handle, JSON.stringify(data));
      });
}

I am getting responses containing tweets of the user IF the user name doesn’t contain numbers.
If the handle contains any numbers, then there are no tweets returned.

I have tried it by directly using address bar for the same requests.

eg:
(Following are handle names)

  • ndtv works
  • toi works
  • pranavjain64 (my handle) doesn’t work
  • CNBCTV18news doesn’t work

PLEASE HELP!!

  • 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-04T04:25:03+00:00Added an answer on June 4, 2026 at 4:25 am

    You’ll want to use the status api rather than search here.

     function sendRequest(handle, noOfTweets, boolDisplay){
            $.getJSON("http://api.twitter.com/1/statuses/user_timeline.json?screen_name="+ handle + "&count=" + noOfTweets + "&c
    allback=?", function(data) {
            if(boolDisplay){
                displayTweets(data);
            }
            localStorage.setItem("tweets"+handle, JSON.stringify(data));
          });
      }
    

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

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

Sidebar

Related Questions

I trying to build a JavaScript function which will grab a JSON encoded array
I am trying to implement a JSON-RPC solution, using a server connector object which
Using the jQuery SelectBox plugin I'm trying to create a JSON object which looks
I'm trying to get the JSON object from a JSON outputted string from a
While trying to GET a JSON, my callback function is NOT firing. $.ajax({ type:GET,
I'm trying to get a JSON response and iterate through the data. Here is
I am trying to retrieve data in a JSON object (which I have validated
I'm trying to grab a dictionary object which is converted to json object in
Im trying to get a list of line items to a webpage using JSON,
I am trying to transfer data from a jsp file using a json object.

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.