[twitter-dev] Re: number of private accounts/ random user sample
My poke shows roughly 7-9%, with only a third of the random id's between 1 and (8 digits) returning user accounts. (a test up to 10 digit id's returned no user accounts) I did a few runs with 1000 sampled user id's, so there you are. If you want details let me know. On Jun 11, 12:28 am, lucy a.downy.h...@gmail.com wrote: Hi, I know that retrieving a random user sample is an old question, so I won't belabor it here. Instead, does anyone have a sense for what percentage of twitter accounts are private. I've seen 10% in my samplings, but so far that includes data gathered from search, which won't contain private tweets anyway... (I'm writing a quick script to test this, but I still wonder if randomly sampling user id's is the best approach) Lucy.
[twitter-dev] number of private accounts/ random user sample
Hi, I know that retrieving a random user sample is an old question, so I won't belabor it here. Instead, does anyone have a sense for what percentage of twitter accounts are private. I've seen 10% in my samplings, but so far that includes data gathered from search, which won't contain private tweets anyway... (I'm writing a quick script to test this, but I still wonder if randomly sampling user id's is the best approach) Lucy.
[twitter-dev] random sampling of users....do we know anything about user id range?
Hi, I'd like to do a (approximately) random sampling of (public) users for research purposes. Do we know anything about user ids, such as the range? Thanks, Lucy.
[twitter-dev] Re: ok to reserver a few dozen usernames for a business idea?
Alex and Doug, I appreciate your replies. We'll go with option 2 for now. Thanks. On Mar 18, 2:25 pm, Doug Williams d...@twitter.com wrote: Lucy, You should only create accounts for users that you are actively using. Please do not create accounts to squat on them. A strong indication that an account should not exist account is a noticeable lack of followers. From your description, I would suggest you concentrate on Option 2 and focus your efforts on a single username for the game. Only after it becomes clear that your users would benefit from independentnames would Option 1 make sense. Thanks, Doug WilliamsTwitterAPI Supporthttp://twitter.com/dougw On Wed, Mar 18, 2009 at 12:32 PM, lucy a.downy.h...@gmail.com wrote: A friend and I want to start a legitimate business involving atwitter app. We're not sure what the best practice is regarding reserving twitterusernames. We don't want to do anything slimey or abusive, but we also don't want to shoot ourselves in the foot by being warm and fuzzy instead of playing the marketing/convenience game. Essentially, the question is: if we plan to make a bunch of related apps, is it ok toreserve50 usernames? Say our company is called Foo, and we want to release FooBar, FooQux and FooMoo, etc. option 1: Is it ok toreserveeach sub-app that users can interact via: @FooBar sekret command and so that they only get updates about FooBar if that's what interests them? option 2: Dev-wise, it's pretty similar for users to have to interact via: @Foo Bar sekret command where Foo is our only reserved username. Users won't be able to specifically follow the sub-app that interests them, but we could work that out internally and only direct message relevant users. The sub-apps are definitely apps in their own rights, rather than categories. My friend and I are pretty serious about developing this suite, and while some of the usernames won't get used (presumably we can delete those accounts once that becomes clear), most of them will be. We want to ensure our Foo brand doesn't run into problems. It still feels greedy. Is option 1 a standard thing to do? Will our accounts be taken from us? Will we be banned? Thanks!
[twitter-dev] ok to reserver a few dozen usernames for a business idea?
A friend and I want to start a legitimate business involving a twitter app. We're not sure what the best practice is regarding reserving twitter usernames. We don't want to do anything slimey or abusive, but we also don't want to shoot ourselves in the foot by being warm and fuzzy instead of playing the marketing/convenience game. Essentially, the question is: if we plan to make a bunch of related apps, is it ok to reserve 50 usernames? Say our company is called Foo, and we want to release FooBar, FooQux and FooMoo, etc. option 1: Is it ok to reserve each sub-app that users can interact via: @FooBar sekret command and so that they only get updates about FooBar if that's what interests them? option 2: Dev-wise, it's pretty similar for users to have to interact via: @Foo Bar sekret command where Foo is our only reserved username. Users won't be able to specifically follow the sub-app that interests them, but we could work that out internally and only direct message relevant users. The sub-apps are definitely apps in their own rights, rather than categories. My friend and I are pretty serious about developing this suite, and while some of the usernames won't get used (presumably we can delete those accounts once that becomes clear), most of them will be. We want to ensure our Foo brand doesn't run into problems. It still feels greedy. Is option 1 a standard thing to do? Will our accounts be taken from us? Will we be banned? Thanks!
[twitter-dev] Re: I would like to be a part of twitter freelancing
I think you want to move this information to the following thread: http://groups.google.com/group/twitter-development-talk/browse_thread/thread/dce46c39188083c4/ad79dff921490913#ad79dff921490913 On Mar 18, 12:27 pm, Ratnavel ratnave...@gmail.com wrote: Hi, I would like to be a part of freelancers developing Twitter based apps, I build apps in both Ruby on Rails and Java, My Twitter acc:http://twitter.com/ratnavel Blog url:http://ratnaonrails.wordpress.com/ Regards, Ratnavel
[twitter-dev] Re: update_profile_background_image error
for the searchable archives: I received help from someone (whom I believe wants to remain anonymous): http://pastebin.com/m7b09edc http://pastebin.com/mf4ba5f9 awesome! it doesn't use the build_opener method, but instead packages the boundary/content-type builder method (see http://berserk.org/uploadr/) into a very nice module. snaps. On Feb 20, 6:45 pm, lucy a.downy.h...@gmail.com wrote: I've tried a variety of ways to send raw multipart data to twitter's update_background_image REST api. specs: http://apiwiki.twitter.com/REST+API+Documentation#updateprofilebackgr... The problem is that I get back a server error. I'd appreciate any help. I'm probably misunderstanding raw multipart data, so feel free to offer resources that might help. Currently I'm using python with the urllib and urllib2 standard libraries. I looked at pycurl but that would be a pain to integrate because everyone on the project uses different platforms (for which pycurl doesn't provide binaries) and possess varying levels of 'install-fu'. I found this to be a useful tutorial on urllib and urllib2: http://www.voidspace.org.uk/python/articles/urllib2.shtml I've tried sending the image opened, eg open(imgname, 'rb'), and mime'd, according to this resource: http://www.python.org/doc/2.2.3/lib/node397.html Here is some python code and errors. Be sure to provide a twitter username and password instead of XXX. username = XXX password = XXX url = 'http://twitter.com/account/update_profile_background_image.json' imgname = 'media/tcal/img/twitter_icon.jpg' fp = open(imgname, 'rb') img = MIMEImage(fp.read()) fp.close() values = {'image':img } data = urllib.urlencode(values) auth = urllib2.HTTPPasswordMgrWithDefaultRealm() auth.add_password(None, 'http://twitter.com/account/', username, password) authHandler = urllib2.HTTPBasicAuthHandler(authHandler) opener = urllib2.build_opener(authHandler) opener.open(url, data) Traceback (most recent call last): File stdin, line 1, in module File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 387, in open response = meth(req, response) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 498, in http_response 'http', request, response, code, msg, hdrs) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 419, in error result = self._call_chain(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 360, in _call_chain result = func(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 823, in http_error_401 url, req, headers) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 801, in http_error_auth_reqed return self.retry_http_basic_auth(host, req, realm) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 811, in retry_http_basic_auth return self.parent.open(req) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 387, in open response = meth(req, response) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 498, in http_response 'http', request, response, code, msg, hdrs) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 425, in error return self._call_chain(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 360, in _call_chain result = func(*args) File /Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/urllib2.py, line 506, in http_error_default raise HTTPError(req.get_full_url(), code, msg, hdrs, fp) urllib2.HTTPError: HTTP Error 500: Internal Server Error try: ... opener.open(url, data) ... except IOError, e: ... print e.msg ... print e.message ... print e.headers ... print e.info ... print e.code ... print e.filename ... print e.hdrs ... Internal Server Error Date: Fri, 20 Feb 2009 23:33:23 GMT Server: hi Last-Modified: Fri, 20 Feb 2009 23:33:23 GMT Status: 500 Internal Server Error Pragma: no-cache Cache-Control: no-cache, no-store, must-revalidate, pre-check=0, post- check=0 Content-Type: text/html; charset=utf-8 Content-Length: 4491 Expires: Tue, 31 Mar 1981 05:00:00 GMT X-Revision: f6f5cf9a6a6126d6bcbde0d04f0484fa2e41de04 X-Transaction: 1235172803-94142-20328 Set-Cookie: lang=en; path=/ Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess=BAh7CToTcGFzc3dvcmRfdG9rZW4iLWI4NzlhMDY4NzExNjU3Mzg4NzgzYTJi %250ANmNhYzQ0ODJhZjFjN2ExYzg6CXVzZXJpBJVMGAE6B2lkIiU3OTIyMTIyYzIy %250AZWZjYTJiNzU2MDAzNzNhNjFiN2M0NiIKZmxhc2hJQzonQWN0aW9uQ29udHJv %250AbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D-- f3377a9ca3b85f32ccc0d06a6293d95cbc16245d; domain=.twitter.com
[twitter-dev] update_profile_background_image error
: f6f5cf9a6a6126d6bcbde0d04f0484fa2e41de04 X-Transaction: 1235172803-94142-20328 Set-Cookie: lang=en; path=/ Set-Cookie: lang=en; path=/ Set-Cookie: _twitter_sess=BAh7CToTcGFzc3dvcmRfdG9rZW4iLWI4NzlhMDY4NzExNjU3Mzg4NzgzYTJi %250ANmNhYzQ0ODJhZjFjN2ExYzg6CXVzZXJpBJVMGAE6B2lkIiU3OTIyMTIyYzIy %250AZWZjYTJiNzU2MDAzNzNhNjFiN2M0NiIKZmxhc2hJQzonQWN0aW9uQ29udHJv %250AbGxlcjo6Rmxhc2g6OkZsYXNoSGFzaHsABjoKQHVzZWR7AA%253D%253D-- f3377a9ca3b85f32ccc0d06a6293d95cbc16245d; domain=.twitter.com; path=/ Vary: Accept-Encoding Connection: close thanks! lucy.