Posts: 5
Threads: 1
Joined: Aug 2012
Hello everyone !
Here's a little proof of concept of mine: I made a twitter front-end for the ac masterserver :)
Have you ever wanted to have a list of the most popular servers without having to actually start the game ? Now you can !
The servers list updates every few minutes (I'm sorry I can't make it real time because of twitter's status updates restrictions).
Posts: 2,144
Threads: 38
Joined: Aug 2010
This is kinda neat - nice work :)
Posts: 582
Threads: 11
Joined: Aug 2011
wat is twitter? :p
rather nice btw. GJ!
Posts: 2,331
Threads: 45
Joined: Feb 2011
Posts: 740
Threads: 61
Joined: Jun 2011
do some real coding and use PHP server list. Now come on!
Twitter sucks
Posts: 308
Threads: 12
Joined: Aug 2010
25 Aug 12, 08:46AM
(This post was last modified: 25 Aug 12, 08:46AM by Aekom.)
(25 Aug 12, 06:58AM)Jg99 Wrote: do some real coding and use PHP server list. Now come on!
Twitter sucks
Mate, you don't have many friends left on this forum. I would avoid making comments like this.
Posts: 414
Threads: 12
Joined: Feb 2011
Nice work, off course I am too old to know what twitter is but nice work anyway ;)
Posts: 5
Threads: 1
Joined: Aug 2012
(25 Aug 12, 06:58AM)Jg99 Wrote: do some real coding and use PHP server list. Now come on!
Twitter sucks
If you knew what coding was, you would not have mentioned PHP.
Posts: 18
Threads: 3
Joined: Jun 2010
(25 Aug 12, 09:36AM)h3ktik Wrote: (25 Aug 12, 06:58AM)Jg99 Wrote: do some real coding and use PHP server list. Now come on!
Twitter sucks
If you knew what coding was, you would not have mentioned PHP.
Ouch.
Posts: 1,436
Threads: 7
Joined: Jun 2010
(25 Aug 12, 09:36AM)h3ktik Wrote: If you knew what coding was, you would not have mentioned PHP. XD
Also, how is using a preexisting PHP script "real coding" but writing a twitter bot isn't?
Posts: 414
Threads: 12
Joined: Feb 2011
Guys he doesnt know what hes talking about as usual, dont let him spoil another topic!
Posts: 881
Threads: 74
Joined: Mar 2011
Posts: 2,144
Threads: 38
Joined: Aug 2010
(25 Aug 12, 09:38AM)ironzorg Wrote: Ouch. :O It's ironzorg!
But yeah, came back to say again how cool and full of potential this idea is :D
Posts: 5
Threads: 1
Joined: Aug 2012
(25 Aug 12, 08:28PM)ShadowFlameZ Wrote: But yeah, came back to say again how cool and full of potential this idea is :D
Well, like I said it's more of a proof of concept than anything else, but I still find it too bad that twitter limits users so harshly (although I'm authed using OAuth, which should grant me more status updates per hour).
Posts: 3,462
Threads: 72
Joined: Jun 2010
(25 Aug 12, 08:33PM)h3ktik Wrote: (25 Aug 12, 08:28PM)ShadowFlameZ Wrote: But yeah, came back to say again how cool and full of potential this idea is :D
Well, like I said it's more of a proof of concept than anything else, but I still find it too bad that twitter limits users so harshly (although I'm authed using OAuth, which should grant me more status updates per hour).
In the end you have to think about what twitter aims to be, how people use it, and how you can make it fit that purpose. Otherwise you might as well just add some sort of status box to a website and have the same result.
As you said, a proof of concept though.
What I find interesting about twitter is not the ability to post, but the huge flood of data you can pull from it. I've made a couple of scripts that tries to use the tweets to some interesting result, but alas I do not have enough creativity.
If only I had access to the firehose \:D
Posts: 5
Threads: 1
Joined: Aug 2012
26 Aug 12, 09:19AM
(This post was last modified: 26 Aug 12, 09:20AM by h3ktik.)
(25 Aug 12, 10:14PM)Ronald_Reagan Wrote: Otherwise you might as well just add some sort of status box to a website and have the same result.
Twitter provides an API for accessing one's timeline, if you plan on making a players finder, you don't have to bother how to get a list of the most popular servers: I did it for you and the list is parser friendly (it's one less thing you'd have to code). It's definately not the same as re-inventing the wheel by coding something yourself and upload it on a random server, since you don't have to maintain that twitter servers list (I do), and you benefit from twitter's ergonomic web interface.
Another PoC I would like to pull off: make a twitter account for an ac server, make the server pull it's timeline from it, and make it execute the commands in the status (aka web server administration tool). All the authentication would be processed through OAuth (and SSL), and you wouldn't have to connect to the server in order to change the map, etc.
Or I could make it so the server shares its blacklist on its twitter account…
So many possibilities with such a service :) Only thing I regret: the low amount of status updates available.
Posts: 1,436
Threads: 7
Joined: Jun 2010
(26 Aug 12, 09:19AM)h3ktik Wrote: Another PoC I would like to pull off: make a twitter account for an ac server, make the server pull it's timeline from it, and make it execute the commands in the status (aka web server administration tool). All the authentication would be processed through OAuth (and SSL), and you wouldn't have to connect to the server in order to change the map, etc. That sounds pretty overengineered and overcomplicated, and you'd rely on a proprietary third-party service. If you build an SSL interface into the server, why not use it to control the server directly? And if you want a tool that allows you to administer your server from anywhere, a web interface would be a lot more useful.
Posts: 5
Threads: 1
Joined: Aug 2012
(26 Aug 12, 03:56PM)tempest Wrote: (26 Aug 12, 09:19AM)h3ktik Wrote: Another PoC I would like to pull off: make a twitter account for an ac server, make the server pull it's timeline from it, and make it execute the commands in the status (aka web server administration tool). All the authentication would be processed through OAuth (and SSL), and you wouldn't have to connect to the server in order to change the map, etc. That sounds pretty overengineered and overcomplicated, and you'd rely on a proprietary third-party service. If you build an SSL interface into the server, why not use it to control the server directly? And if you want a tool that allows you to administer your server from anywhere, a web interface would be a lot more useful.
Proof of concepts are not meant to be usable.
Posts: 1,436
Threads: 7
Joined: Jun 2010
Yeah, I know, but they should have some kind of purpose or aim, right? Although that purpose could also be amusement/satisfaction ofc :)
Posts: 3,462
Threads: 72
Joined: Jun 2010
A lot of it is, "Hey look at what I did!"
Most common reaction is "Why?"
What is the requirements on status updates exactly? I'm looking into coding my own twitter service (not AC related) sometime soon and that might be nice to read. I don't remember reading it in the API reference.
Posts: 49
Threads: 7
Joined: May 2012
ye for what is this server list? what can i do with it?
|