Mosquito

Tools to access streaming vectors maps and data sources such as Flickr, Twitter, Facebook, Google Maps, GeoData, StockMarket

 

...and a bunch of other stuff


Mosquito is a plugin suite developed for Rhino and Grasshopper. The plugin allows us to tap into social , financial and popular media. Extracting location, profiles, images and messages from Facebook,Twitter, Topsy etc….

As architects part of our responsibility is the consideration of the public realm. Today however , people tend to hang in the digital equivalent, namely, social media space. While this space becomes ever more permanent, the physical realm is fleeting, an evanescent space.

We are utilizing the tools in this component suite to bridge the gap between geometrics and information. Driving geometry with data and vice-versa. The ability to extract user Geo-coordinates, language, thoughts, profile and image enables architects to paint a picture. It is this  4-dimensional picture, which we refer to as “spatial condition”, that allows us to explore what happened yesterday, now and hypothesize about tomorrow. True 4-dimensional modeling.

Download 

http://www.synthetic.space/synthetic/mosquito/

by Carson Smuts

Load Previous Comments
  • konrad k sobon

  • Carson Smuts

    konrad k sobon: I opened the file and everything works fine when searching for "arch_laboratory". Twitter does limit the number of calls an IP_Address can make per hour, so if you are using a school network and sharing an IP and someone else is making hundreds of calls, then you will be banned for an hour.

    I believe the hourly limit is 350.....

    "Rate limits for unauthenticated requests are applied to the IP that we see."

  • konrad k sobon

    Carson,

    You are 100% right. I am not using a school network, but i put a Timer component on it and set it to 1ms which means that i timed out of possible connections in less than half a second. :-) My bad. I will try again and make sure that I set my timer to around 11 seconds to prevent it from reaching the hourly limit. Thank you for reminding me of that. I knew there was a limit, but forgot about it.

    Konrad

  • Carson Smuts

    No problem :) I forget things like that all the time, hope you find the plugin useful.

    Carson

  • konrad k sobon

    It already is. You probably noticed what I am going to do with it. I will use it to look for certain tweets that will become triggers. I was looking at using a Pachube Feed and control it from there, but this is much faster. Also, did you ever think about adding a possibility of reading Direct Messages? I am thinking that if i start sending some random tweets from my main account to control Grasshopper it will annoy my followers. I dont know if i want to create another Twitter account just for that purpose, but that might be a must.

    Thanks for help!

  • Carson Smuts

    Thats a nice idea, so by "Direct Messages" you mean that it would be a separate messaging database from Twitter? Or that it has its own twitter account?

  • konrad k sobon

    Separate database and it becomes another output on the Twitter component. That would be a good addition to your plug-in.

  • Jason Wheeler

    I'm really excited to try out some ideas with your plug-in, but I have no idea why I can't get it to work... I have checked to see if the Newtonsoft.Json.dll file is in the components folder and it is.  I have checked my Windows firewall and allowed Rhino 5 to access the internet... But I'm still having problems.  When I opening any of the example files they are red and give me a "Could not load file or assembly" error

    I am running Rhino 5 SR3 (I tried it on SR2 before I upgraded and same thing).. Grasshopper 9.0014.. Windows 7 64-bit.... all on Bootcamp on a new MacBook Pro

    Any ideas????

  • Jason Wheeler

    Let me re-states that I can't get the Media components to work... :)

  • Brandon Davis

    I'm getting an error saying this "Solution exception:Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified." I have the Newtonsoft.Json.dll in C:\Users\username\AppData\Roaming\Grasshopper\Libraries, but it will not work. Any help would be much appreciated.

  • Carson Smuts

    How to fix : "Solution exception:Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0,

    Drop the Newtonsoft.Json.dll into the Rhino 5 directory where you will find Rhino.exe...... this should fix the problem:) Let me know if it does not.

  • Brandon Davis

    Works perfectly, thanks! 

  • Carson Smuts

    UPDATE 0.3.0:

    FaceBook plugin Working again!: The plugins have been reprogrammed so to work with the new Facebook OAuth API.

    NEW Record Media plugin: Allows you to record social media information from the media components over time without duplicates. Might be complex for some to use at first. Check to example files included and it should be self explanatory, else send me a msg and i will try to help :)

  • Jacob

    I'm getting a message that says "the remote server returned an error: (403) Forbidden". Any ideas on how that could be resolved? Was originally getting the message "Solution exception:Could not load file or assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed". And followed the steps for that, but ended up with this other error.

  • Carson Smuts

    Which Plugin is giving you the forbidden error?

  • Jacob

    Its anyone of them so the "facebook, twitter, etc.." And the script is from the example files.

  • Scott Culler

    Has the Topsy tool been removed from version 0.3.0? It doesn't seen to be in the download.

  • Carson Smuts

    Hey Scott, yes Topsy has been removed due to them making there API a paid service.

    Sorry :(

  • Alex Webb

    Hey Carson-

    I'm getting the same "forbidden" error Jacob was getting as well.  I'm not getting it for FB, but I am getting it for Twitter.  I'm also getting a "unauthorized" error on the Twitter User Search.  Any thoughts?

    Thanks,

    Alex

  • Carson Smuts

    Hi Alex,

    I am getting the same error today.....aaaarrrh, twitter, they love to change their API every now and then which breaks the GH plugin. I will need to recompile the plugin sometime this week.

    Sorry :(

    I will let you know once its done.

  • Carson Smuts

    TWITTER plugin is DOWN for the time being , working on a fix

  • Carson Smuts

    Dear Alex, apparently the application key was suspended by Twitter, I have contacted them, and I am awaiting a response.

    Hopefully the issue will be resolved shortly.

  • Carson Smuts

    Alex, Twitter Plugin is now re-authorized in Mosquito, give it a go :)

  • Giacomo Chiesa

    dear all, I have a problem with mosquito. I have used it last week and everything was perfect, nevertheless today every app give me an error report.. about  'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' 

    do anyone know how to fix it?

    thank you

  • Carson Smuts

    Hmm, strange, did you install a new version of GH? or Rhino? recently?

  • Giacomo Chiesa

    I have installed CADtoEarth.Rhino. Now I have uninstalled it and Mosquito works again! thank you!! that's and incredible tool!

  • Carson Smuts

    Giacomo: Interesting , I have not come across that issue yet, thanks for sharing your solution :)

  • Justin Depoy

    All right, my problem is solved.

    Thanks

  • Conor Scully

    Hi Guys, 

    I have been really struggling with Mosquito. I am currently living in London and the Twitter tool just doesn't seem to be returning any data. I know twitter has been cracking down on it's API. If anyone could shine some light on the situation I would be very grateful. I am currently running windows through a mac bootcamp partition if that makes any difference. Also. I downloaded the plugin about a month ago and it seemed to be working fine then. Conor

  • Carson Smuts

    Hi Conor: could you send me your file and I'll try from over here in the states, make sure you include the location which you want to search, thanks

  • Tom Withers

    The location component just stopped working for me. It was working fine for a while but has now stopped returning adresses and points. I was wondering if there was a daily limit on location queries that I had exceeded, or some other reason why the location component might suddenly stop working?

     

    (The google direct component still works fine)

  • Carson Smuts

    Tom: yes , it does have a limit..... if you bombard it with a bunch of request in one go , google thinks you are trying to hack them. Try another network and let me know if it works then..... It is still working for me as of right now

  • Tom Withers

    Ooops! I think that's what I may have accidentally done. Do you know if I am banned from for life or just temprorarily suspended?

  • Carson Smuts

    You are suspended for an hour or so, i think.... you should be up and running again by tomorrow for sure though.

    I would try again in 1 hour

  • kwanphil cho

    How can I extract uploaded images from my twitter account. I managed to extract the link but fail to extract image URL. Can you explain how? It says here that Flikr component can be used to extract image from twitter as well but not really clear how to do it. Can anyone explain? Thank you in advance.

  • Carson Smuts

    you need to use the image-download component

    IMAGE-DOWNLOAD

    This component allows us to download images from a URL list and save them to a directory on our hard drives. This component is meant to be used with the Flickr and Twitter component.

     

    ImageURL: The list of image http url you want to download.

    Name: The name that should be given to the file.

    Directory: The directory in which to save the image.

    Reload: If toggled the images will be downloaded.

  • Thomas Müller-Valentin

    This plugIn is awesome. Thanks a lot.

  • Carson Smuts

    Thomas: no problem , hope you find it useful :)

  • kwanphil cho

    Carson. Just let you know that Mosquito is not working at the moment. Any issues with the plug in that you are aware of?

  • Carson Smuts

    Dear Kwanphil, Yes , I just tried it out and everything is working 100%. Perhaps you can try a different internet connection? Note that the twitter component must be used in moderation, roughly 200 queries per hour. In other words , if you run a timer on it or put a giant list of queries into the component, you will be banned from twitter for roughly 1 hour and then you can try again. What was the error you received?

  • Carol

    I have encountered this error with the Facebook component. How can I solve this? Thank you. 

  • Carson Smuts

    Dear Carol, the API appears to have changed for Facebook. I have not had time to update this plugin. I will try to get around to it sometime this week and will post an update shortly.

  • Jonathan Wiederin

    Hi,

    does anyone have a solution for this error? Can`t I work with this .prj file that I used, which would mean i can`t work with the .shp file that I have? 

    Thank you

  • Jonatan Schumacher

    Hi, thank you for all the hard work to create these components! The SonicTweet component works well for me, but I am not able to search by only supplying a #tag. '#coke' returns bad request error. 'cola #coke' works fine. Any advice on searching solely for hash tags is greatly appreciated.

  • Carson Smuts

    Dear Jonatan, thanks for pointing out this problem. Let me have a look and back to you on that. 

  • Carson Smuts

    Dear Jonathan Wiederin, could you post your file? I'll then take a look at it???

  • Jonathan Wiederin

    mosquito%20jonathan.gh

    ALK_Gebaeude.prj

    Here are both files. 

    .gh and .prj if you need the .shp let me know.

    Thanks for helping.

  • Carson Smuts

    Dear Jonathan Wiederin,

    Hmm, very strange.... It appears that the Gauss Kruger projection is not supported. Could you post the .SHP file? 

    I'll see if I can get it to work using an alternative projection method...

    Or perhaps I need to update the external framework I am using.

  • Jonathan Wiederin

    http://we.tl/KX5tqoVH18

    here is a link to the .shp file.

    Thanks

  • Carson Smuts

    UPDATE 0.3.4:

    Updated TwitterPlugin: Fixed hash-tag 400 error. Hash Tag searching now works again.