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
  • Philipp

    its great, hovewer google map component crashes the Rhino itself...

    Rhino 4 sr9 

  • Carson Smuts

    Mosquito Update! 0.2.1

     

    GoogleMaps: Now works for all user profiles

    My apologies , I forget that most people install their plugins via the components folder accessed through Grasshopper itself. So I have changed the directory this components looks for i.e.

    C:\Users\%YOURNAME%\AppData\Roaming\Grasshopper\Libraries

     

    If it is crashing rhino check the following:

    1. You need to have the "sonicmaps" folder in your components directory, it holds the tiles.

    2. You must not leave the "Reload" input on "True". Only use "True" when you want to load a new map, then change it back to "False".

    Let , me know if you have any trouble.

    Thanks to Philipp for pointing out this issue.

  • Yoshi Fukumori

    Hello! thanks for this amazing tool! I been working with this plugin a few days and today I have this problem, I don´t know what this mean,  I hope you can help me with my problem. Thanks for everything! Regards!

  • Carson Smuts

    Yoshi: You need to put all the files from the download into your components folder, including "Newtonsoft.Json.dll"

    Does that help?

  • Philipp

    Carson, is it possible to search only one group on facebook with your component? 

  • Carson Smuts

    Hi Philipp,

    I'll see if I can get it to do that:)

    Could you provide the Group name so I can test something?

    Thanks

  • Philipp

    SENSEable for example

  • Carson Smuts

    UPDATE 0.2.4:

    Bug Fixes: Fixed bugs with Twitter API access and new functions in String Duplicate component.

  • Carson Smuts

    UPDATE 0.2.5:

    Flickr: Search twitter database for photos based on location and tag/title.

    ImageDownload: Download images from Flickr or Twitter plugins.

    ImageMaterial: Map a image onto a nurb surface.

  • konrad k sobon

    Hi Carson,

    I was trying to fire up your Twitter Component. It worked for about 10 min and now I am getting this error:

    1. Solution exception:The remote server returned an error: (400) Bad Request.

    Any idea what might be causing it?

  • Carson Smuts

     konrad k sobon: Could you post your GH file, I will look into it right away.

  • 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?