r3wp [groups: 83 posts: 189283]
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

World: r3wp

[Twitter] Discussion related to Twitter APIs and such

Chris
11-Sep-2010
[1x2]
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]?
Graham
11-Sep-2010
[3]
I waved a big stick at Chris!
Chris
11-Sep-2010
[4]
It was the hot poker that did it...
Graham
11-Sep-2010
[5]
And we should collect specifications for what we need for http/s 
web protocols for R3 as well.
Gregg
12-Sep-2010
[6x2]
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.
Janko
17-Sep-2010
[8x4]
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.
Chris
18-Sep-2010
[12x4]
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.
Maxim
2-Feb-2011
[16]
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.
Andreas
2-Feb-2011
[17]
you can switch seeing the retweets off on a per-user basis
Reichart
6-Feb-2011
[18]
i have been trying to USE Twitter recently............it indeed, 
sucks.
Gabriele
6-Feb-2011
[19]
I guess the point is that "conversations" between people usually 
don't have a meaning.
AdrianS
6-Feb-2011
[20]
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.
Reichart
7-Feb-2011
[21]
I'm always reminded of this http://2.bp.blogspot.com/_aGGtGBGkMVQ/TCoD9wC2f5I/AAAAAAAABik/GgyijPx3XPI/s1600/twitter-cartoon.jpg
Gabriele
8-Feb-2011
[22]
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.
Reichart
8-Feb-2011
[23]
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.
AdrianS
8-Feb-2011
[24]
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.
Reichart
8-Feb-2011
[25]
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.
AdrianS
8-Feb-2011
[26]
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.
Reichart
8-Feb-2011
[27]
Agreed, on both counts.
Gabriele
9-Feb-2011
[28]
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?
AdrianS
9-Feb-2011
[29]
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.
Gabriele
10-Feb-2011
[30]
Agreed, just like I said, Twitter is popular rather than good. :-)
nve
14-Jul-2011
[31]
Twitter module for REBOL by Chris RG works great !
http://www.ross-gill.com/page/Twitter_API_and_REBOL
Endo
14-Jul-2011
[32]
cool!
Janko
15-Jul-2011
[33]
Yes, I'm using it too.. very good work..
nve
2-Aug-2011
[34]
New VID client from Chriss : http://reb4.me/r/twitter-vid.html
PatrickP61
2-Aug-2011
[35]
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.
nve
2-Aug-2011
[36]
Follow the tutorial : http://www.ross-gill.com/page/Twitter_API_and_REBOL
PatrickP61
2-Aug-2011
[37]
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.
nve
2-Aug-2011
[38]
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.
PatrickP61
4-Aug-2011
[39]
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!
PatrickP61
5-Aug-2011
[40]
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.
Dockimbel
5-Aug-2011
[41x2]
You have a type, the correct domain name is: reb4.me
type => typo :-)
PatrickP61
5-Aug-2011
[43x2]
Dooooh -- How did you spot that -- really!!!
Perfect!!!  Thank you Dockimbel
Dockimbel
5-Aug-2011
[45]
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. :-)
PatrickP61
5-Aug-2011
[46]
One little period is what I missed!  :-)
james_nak
20-Oct-2011
[47]
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.
Chris
5-Jan-2012
[48:last]
Sorted, and added a little note to the doc (as I said I would : )