Big Trev 8
said
:
Hey Indy, where do you pull the information about vos from? It is a cool feature!
Hiya Big Trev 8
My server reads the feed from @JagexClock: https://twitter.com/JagexClock.
Basically I made an API that talks to my twitter app and that reads the feed, my server cleans out the unwanted tweets from the feed and caches the VoS.
Here's a working example of setting it up in PHP and reading it with javascript. Handy if you don't want to use an oauth library.
http://christianvarga.com/how-to-get-public-feeds-using-twitters-v1-1-api/
I also made a crude pure javascript version that I can share if you like. Though I'm not sure it's up to production standards but it could serve as a template.
The method in the link above is similar to what I did but I went with SQL rather than a flat file for caching. Actually all I really used from that article was how to get bearer token and not have to use oauth.
15-Oct-2015 01:41:02
- Last edited on
15-Oct-2015 01:43:37
by
Indecent Act
Big Trev 8
said
:
Awesome. Pretty simple solution too. Thanks for sharing!
You're welcome, if you end up doing anything with it feel free to post a link here. It's always nice to see what other people do
Indecent Act
said
:
Big Trev 8
said
:
Awesome. Pretty simple solution too. Thanks for sharing!
You're welcome, if you end up doing anything with it feel free to post a link here. It's always nice to see what other people do
I might eventually, but right now I have no plans. Was just curious.
Oh I did a little test and it looks like RS Linkify will auto update in Opera. I still haven't got around to uploading to Opera's official add-ons, but I will eventually do it. As for now it looks as though there will be no problem keeping up to date