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
konrad k sobon
Twitter_request_01.gh
Thank you!
May 9, 2013
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."
May 9, 2013
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
May 9, 2013
Carson Smuts
No problem :) I forget things like that all the time, hope you find the plugin useful.
Carson
May 9, 2013
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!
May 9, 2013
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?
May 9, 2013
konrad k sobon
Separate database and it becomes another output on the Twitter component. That would be a good addition to your plug-in.
May 9, 2013
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????
May 14, 2013
Jason Wheeler
Let me re-states that I can't get the Media components to work... :)
May 14, 2013
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.
Sep 12, 2013
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.
Sep 13, 2013
Brandon Davis
Works perfectly, thanks!
Sep 13, 2013
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
Sep 15, 2013
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.
Sep 24, 2013
Carson Smuts
Which Plugin is giving you the forbidden error?
Sep 24, 2013
Jacob
Sep 24, 2013
Scott Culler
Has the Topsy tool been removed from version 0.3.0? It doesn't seen to be in the download.
Nov 3, 2013
Carson Smuts
Hey Scott, yes Topsy has been removed due to them making there API a paid service.
Sorry :(
Nov 3, 2013
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
Dec 13, 2013
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.
Dec 14, 2013
Carson Smuts
TWITTER plugin is DOWN for the time being , working on a fix
Dec 14, 2013
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.
Dec 14, 2013
Carson Smuts
Alex, Twitter Plugin is now re-authorized in Mosquito, give it a go :)
Dec 23, 2013
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
Feb 5, 2014
Carson Smuts
Hmm, strange, did you install a new version of GH? or Rhino? recently?
Feb 5, 2014
Giacomo Chiesa
I have installed CADtoEarth.Rhino. Now I have uninstalled it and Mosquito works again! thank you!! that's and incredible tool!
Feb 6, 2014
Carson Smuts
Giacomo: Interesting , I have not come across that issue yet, thanks for sharing your solution :)
Feb 6, 2014
Justin Depoy
All right, my problem is solved.
Thanks
Feb 23, 2014
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
Mar 3, 2014
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
Mar 3, 2014
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)
Mar 24, 2014
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
Mar 24, 2014
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?
Mar 24, 2014
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
Mar 24, 2014
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.
May 14, 2014
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.
May 15, 2014
Thomas Müller-Valentin
This plugIn is awesome. Thanks a lot.
Jun 17, 2014
Carson Smuts
Thomas: no problem , hope you find it useful :)
Jun 17, 2014
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?
Oct 29, 2014
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?
Oct 30, 2014
Carol
Mar 31, 2015
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.
Mar 31, 2015
Jonathan Wiederin
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
Apr 15, 2015
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.
Apr 15, 2015
Carson Smuts
Dear Jonatan, thanks for pointing out this problem. Let me have a look and back to you on that.
Apr 16, 2015
Carson Smuts
Dear Jonathan Wiederin, could you post your file? I'll then take a look at it???
Apr 16, 2015
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.
Apr 17, 2015
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.
Apr 21, 2015
Jonathan Wiederin
http://we.tl/KX5tqoVH18
here is a link to the .shp file.
Thanks
Apr 22, 2015
Carson Smuts
UPDATE 0.3.4:
Updated TwitterPlugin: Fixed hash-tag 400 error. Hash Tag searching now works again.
Apr 29, 2015