Git Product home page Git Product logo

Comments (5)

sbwoodside avatar sbwoodside commented on August 21, 2024

In addition, there's really no value-add at all in using MGTwitterEngine if you're just doing a simple search. It's MUCH easier to simply use SBJSON, grab the JSON from twitter using their simple search API. Much easier and you don't have to deal with YAJL.

from mgtwitterengine.

stevestreza avatar stevestreza commented on August 21, 2024

Just tried to reproduce this in 7e3e44d, seems to work. I get:

(
        {
        "created_at" = 1272753775;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13212130738;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://twitterrific.com\" rel=\"nofollow\">Twitterrific</a>";
        "source_api_request_type" = 38;
        text = "RT @avibryant: The lineup at the emerginglangs conference looks *awesome*. http://emerginglangs.com/speakers/";
        "to_user_id" = <null>;
    },
        {
        "created_at" = 1272736562;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13200793202;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.nambu.com/\" rel=\"nofollow\">Nambu</a>";
        "source_api_request_type" = 38;
        text = "RT @strangeloop_stl: #strangeloop is never on vacation. Today I added Kevin Weil (@kevinweil), analytics lead at Twitter to the lineup http://is.gd/bP0Sx";
        "to_user_id" = <null>;
    },
        {
        "created_at" = 1272736415;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13200687572;
        "iso_language_code" = nl;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.atebits.com/\" rel=\"nofollow\">Tweetie</a>";
        "source_api_request_type" = 38;
        text = "@s7ephen Congrats!";
        "to_user" = s7ephen;
        "to_user_id" = 78727;
    },
        {
        "created_at" = 1272736128;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13200479047;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.atebits.com/\" rel=\"nofollow\">Tweetie</a>";
        "source_api_request_type" = 38;
        text = "@anildash Payne's Gray.";
        "to_user" = anildash;
        "to_user_id" = 29891;
    },
        {
        "created_at" = 1272736030;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13200408306;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.atebits.com/\" rel=\"nofollow\">Tweetie</a>";
        "source_api_request_type" = 38;
        text = "@bos31337 C# isn't. We just wanted a mix of new and established languages and people.";
        "to_user" = bos31337;
        "to_user_id" = 80215;
    },
        {
        "created_at" = 1272675679;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13160642396;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.atebits.com/\" rel=\"nofollow\">Tweetie</a>";
        "source_api_request_type" = 38;
        text = "@conikeec Yup!";
        "to_user" = conikeec;
        "to_user_id" = 942631;
    },
        {
        "created_at" = 1272675643;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13160613566;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.atebits.com/\" rel=\"nofollow\">Tweetie</a>";
        "source_api_request_type" = 38;
        text = "@ctb Looks great, but we don't arrive until Sunday night. June it is!";
        "to_user" = ctb;
        "to_user_id" = 24474;
    },
        {
        "created_at" = 1272675125;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13160213650;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.atebits.com/\" rel=\"nofollow\">Tweetie</a>";
        "source_api_request_type" = 38;
        text = "Last day at Twitter HQ before the move to PDX. This 30\" Cinema Display has been places, man. Ready for the self-teleporting model.";
        "to_user_id" = <null>;
    },
        {
        "created_at" = 1272672109;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13157935095;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@chartier No-win situation.";
        "to_user" = chartier;
        "to_user_id" = 15807;
    },
        {
        "created_at" = 1272671428;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13157428187;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.tweetdeck.com\" rel=\"nofollow\">TweetDeck</a>";
        "source_api_request_type" = 38;
        text = "RT @olabini: I will be speaking at @emerginglangs after all! Fantastic - I will cover Ioke, and possibly something called Seph.";
        "to_user_id" = <null>;
    },
        {
        "created_at" = 1272671214;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13157269428;
        "iso_language_code" = fr;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@b6n @tqbf FINE";
        "to_user" = b6n;
        "to_user_id" = 9019111;
    },
        {
        "created_at" = 1272671126;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13157205309;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@pbowden Nice, but it's no http://bit.ly/9vR3eq";
        "to_user" = pbowden;
        "to_user_id" = 124023;
    },
        {
        "created_at" = 1272670997;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13157110686;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@zaschell No, I was at their SF office.";
        "to_user" = zaschell;
        "to_user_id" = 195721;
    },
        {
        "created_at" = 1272670936;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13157066535;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.atebits.com/\" rel=\"nofollow\">Tweetie</a>";
        "source_api_request_type" = 38;
        text = "RT @Nexus6: Cat hair is the new black";
        "to_user_id" = <null>;
    },
        {
        "created_at" = 1272670771;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13156944417;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@tqbf How do you rationalize that with how ugly their products are? It's like the early 1980s threw up a Cordura lunch.";
        "to_user" = tqbf;
        "to_user_id" = 36013;
    },
        {
        "created_at" = 1272669496;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13155998620;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@wilhelmbierbaum Just quoting a review of an iPad bag. I found that phrase funny.";
        "to_user" = wilhelmbierbaum;
        "to_user_id" = 27072540;
    },
        {
        "created_at" = 1272669182;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13155764864;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "\"the compact iPad lifestyle\"";
        "to_user_id" = <null>;
    },
        {
        "created_at" = 1272668459;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13155226115;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@n8han I do not know. I haven't been involved in anything about our Android app, or for that matter our API for a while.";
        "to_user" = n8han;
        "to_user_id" = 5554138;
    },
        {
        "created_at" = 1272663559;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13151776958;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "@tbridge [email protected]";
        "to_user" = tbridge;
        "to_user_id" = 10532;
    },
        {
        "created_at" = 1272662419;
        "from_user" = al3x;
        "from_user_id" = 12983;
        geo = <null>;
        id = 13150989662;
        "iso_language_code" = en;
        metadata =         {
            "result_type" = recent;
        };
        "profile_image_url" = "http://a1.twimg.com/profile_images/357750272/small_3_normal.png";
        source = "<a href=\"http://www.echofon.com/\" rel=\"nofollow\">Echofon</a>";
        "source_api_request_type" = 38;
        text = "BOOM official Twitter Android app: http://bit.ly/920lGV";
        "to_user_id" = <null>;
    },
        {
        "completed_in" = 0;
        "max_id" = 13217724084;
        "next_page" = "?page=2&max_id=13217724084&rpp=20&q=from%3Aal3x";
        page = 1;
        query = "from%3Aal3x";
        "refresh_url" = "?since_id=13217724084&q=from%3Aal3x";
        "results_per_page" = 20;
        "since_id" = 0;
        "source_api_request_type" = 38;
    }
)

Can you confirm?

from mgtwitterengine.

sbwoodside avatar sbwoodside commented on August 21, 2024

Too late, I already switched to SBJSON.

from mgtwitterengine.

Bluestonexx avatar Bluestonexx commented on August 21, 2024

I am getting the exact same behavior as sbwoodside... And using the current code.

from mgtwitterengine.

Bluestonexx avatar Bluestonexx commented on August 21, 2024

uh... nevermind, disable yajl

from mgtwitterengine.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.