[Twitter] Discussion related to Twitter APIs and such
Per a friendly suggestion, I have cleaned up documentation on my Twitter client: http://www.ross-gill.com/page/Twitter_API_and_REBOL Please, if you have any difficulties/suggestions/issues (or heaven forbid, bugs) let me know.
Admins: should this be !Twitter, or do you want to leave it open for generic discussion about Twitter? Also, could it stand being [Web Public]?
I waved a big stick at Chris!
It was the hot poker that did it...
And we should collect specifications for what we need for http/s web protocols for R3 as well.
I think this is good for generic discussion, and I'll make it web public.
Graham, I agree. We need all the sticks, pokers, and examples we can get to make sure we don't hit roadblocks with protocols.
hi Chris (RG). I tried your twitter example, but I can't make it work. It waits for a long time and then throws an timeout error.
Is there any place where I could see if twitter's api servers are working?
works now .. I see there is wait 10 there in a loop , don't know exactly what id happening but is probably the reason it took so long.
Thanks Chris for doing the OAuth stuff. I imagine it's quite hairy to do.
The biggest problem was not knowing if it was possible - so I wasn't really sure hitting each 401 whether it was something I did vs. it wasn't possible. Turns out each time it was me : )
I do have a plan to make it easier to get it started.
There shouldn't be a 'wait in %twitter.r
I did put a 'wait in one of the examples used to download a timeline - Twitter does restrict the number of times you can call their API so if you're copying a large timeline, then I put an optional 'wait parameter in the export function to allow a break between each call.
is there a way to remove re-tweets from showing up in our timeline view? I don't give a damn about 99% of all the re-tweets I'm getting and it completely fills up the timeline so that I actually don't see any posts from the people I'm following... its totally stupid... to me twitter is the worst conversation design model I've ever seen. in just about all aspects. you just can't understand any thread and its pretty useless as I see it so far.
you can switch seeing the retweets off on a per-user basis
i have been trying to USE Twitter recently............it indeed, sucks.
I guess the point is that "conversations" between people usually don't have a meaning.
I don't use if for conversation, but I do track quie a number of interests through it - I use TweetDeck and have set up many columns with various persistent searches. I really don't see why you need to "follow" anyone. As a stream of pointers to blog posts, artices, videos, etc on what interests me, it's been quite good - esp since TweetDeck (and Twitter, I suppose) supports complex searches so that you can have one search that will find most relevant tweets.
I'm always reminded of this http://2.bp.blogspot.com/_aGGtGBGkMVQ/TCoD9wC2f5I/AAAAAAAABik/GgyijPx3XPI/s1600/twitter-cartoon.jpg
Adrian, that's what RSS feeds were supposed to be for, though. I'm not sure how much of a good idea it is to replace distributed technologies with centralized ones, but it looks like humans go for popular ideas, not good ones.
Twitter is cool in the simple case where ONE wants to broadcase a message to many. Any "warning" system is a perfect match. Things that update people of something, esp. like servers telling a team (think Nagios), this is all pretty cool. But, it would be better to have one system, tags, and then let the UI decide what to do with it all. So Email, Chat, Twitter, even RSS are one "system", and something in it tells the UI what to do with it.
I follow a lot of RSS feeds and I find that Twitter is a system that is pretty good at leading me to find things to follow in more depth, RSS being one such mechanism. I guess it's the noise approach that actually brings value for me - if something should be looked at, others that share your interests will likely pick up on it too and the "signal" strength will increase for that subject. Gabriele, I'm just curious how you, in particular, determine which information out there is "good". Twitter isn't a medium that qualifies the information it publishes - you investigate the links just as you would with Google search results - only Twitter is more up-to-date. Reichart: I'd like a unified system too, but it's not there yet.
A friend of mine built a very cool system that weighed RSS feeds, sort of like how Netflix weighs movie ratings. It was real time. But no one understood how cool it was. So for example, you might want all feeds that mention REBOL. You set it to grab 100%, in so doing, and since I know you, if I even ask for 5% of my news to be REBOL, it would give me a little more since others that I know really like "REBOL" related stuff. http://jaanix.com/ Play with it. He works for Skype now.
Interesting - too bad it was abandoned. Seems a precursor to http://research.ly/ These days, people are writing apps against Twitter API. It'd be pretty easy to drill down into links found in tweets to extract even more context for ranking/rating.
Agreed, on both counts.
Adrian, the same "others will share it" works with RSS, it's not necessary to have a single company "owning" the messages. But, if all you do is share links and look at the most popular ones, then isn't reddit a much better choice?
The fact is that there are quite a few ways to stay on top of what others consider worthy of interest, but, in the end, what brings the most value to these systems is how widespread their use is. Statistics become more valid when the sample size is increased and ia as diverse as possible. Right now, Twitter is the most ubiquitous such system, so it's where I look.
Agreed, just like I said, Twitter is popular rather than good. :-)
Twitter module for REBOL by Chris RG works great ! http://www.ross-gill.com/page/Twitter_API_and_REBOL
Yes, I'm using it too.. very good work..
New VID client from Chriss : http://reb4.me/r/twitter-vid.html
I'm a little confused about the reference to a secret key and the like: "Before you start, you’ll need an Consumer API Key and Secret. If you don’t already have these, you can register an application at Twitter’s Developers Site" I went to the site, but didn't have a clue as to what I should do there. Any suggestions or links for me to investigate? Thanks.
Follow the tutorial : http://www.ross-gill.com/page/Twitter_API_and_REBOL
That is what I mean -- I'm confused by it. The Twitter developers site asks for Name, Description, Website, of the application. Do I just enter dummy information here or am I createing another version of the same twitter app? Just not sure what this is asking for.
For me, I've create RebTweet application. Maybe you can create P61Twitter for exemple. No matter. You just need to declare your application in order to get Consumer API Key and Secrect.
I see now -- I created P61Tweet (anything with Twitter in the name is rejected). It is not yet working, having issues logging in -- I suspect it is due to how quickly OAuth is refreshed. Thank you nve!
Can someone help me. I'm having trouble using the code: settings: [ ; Source from: http://www.ross-gill.com/page/Twitter_API_and_REBOL ; prerequisite: https://dev.twitter.com/apps/new(one time for below) c-key: #VPC....MLyQ ; C-Key c-secret: #jYK4....POjI ; C-Secret u-store: %/MyApps/TwitterUsers.r twitter: http://reb4me/r/twitter.r ] do settings ; assigns parms do/args twitter context [ Consumer-Key: c-key Consumer-Secret: c-secret User-Store: u-store ] I get the following: connecting to: reb4me ** Access Error: Cannot connect to reb4me ** Where: open-proto ** Near: do/args twitter context [ Consumer-Key: c-key Consumer-Secret: c-secret User-Store: u-store ] I must be missing a step or something.
You have a type, the correct domain name is: reb4.me
type => typo :-)
Dooooh -- How did you spot that -- really!!!
Perfect!!! Thank you Dockimbel
I looked at the error msg: "Cannot connect to reb4me", clicked on Twitter_API_and_REBOL link, searched in the page for "reb4" and saw that the domain you were using was wrong. :-)
One little period is what I missed! :-)
Is anyone using Chris's twitter app? I can't seem to get it to send messages via update. I always get a unable to connect to twitter error. All the other refinements work.
Sorted, and added a little note to the doc (as I said I would : )