This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

Birdy (OAuth, Twitter, Tweets&MegaHAL v6.01d) Jun12,2013

Support & discussion of released scripts, and announcements of new releases.
Post Reply
h
hicks
Voice
Posts: 9
Joined: Wed Dec 19, 2007 3:22 pm

Post by hicks »

Forgive spam - changed the https references to plain http and it works fine.
g
geeknik
Voice
Posts: 1
Joined: Thu Jun 13, 2013 8:54 pm
Location: Oklahoma, USA
Contact:

Post by geeknik »

Any reason why the script isn't outputting bold text when something is posted in IRC? I changed the outputted display, but bold just won't work.

Code:

Code: Select all

set twitter(restapi-display) "\[\002@%screen%\002\] %text%"
set twitter(restapi-display-cont) "\[\002@%screen%\002\] %text%"
Output:
Image

It's not my IRC client, using x-chat and I can see bold text from other users and bots.
r
radix
Voice
Posts: 3
Joined: Tue Jan 10, 2012 9:59 pm

Post by radix »

Code: Select all

OAuth failed: (429) Code: 88; Errors: message: rate limit exceeded ( ok )
speechles, any chance to get some rate limiting options? According to the doc's, twitter will start blacklisting applications for bouncing off this limit, and I don't see anything in the script that allows for limiting. Did I miss it maybe?
User avatar
NewzNZ
Halfop
Posts: 68
Joined: Thu Mar 05, 2009 5:15 am
Contact:

tweet via private msg

Post by NewzNZ »

Hi there & thanks for the great script firstly.

Just wondering if there's a way to tweet via a private msg to the bot (eg /msg bot !tweet somemsg etc) instead of in the public channel?

Thanks in advance...
o
oenahs
Voice
Posts: 2
Joined: Tue May 07, 2013 9:33 pm
Location: Florida
Contact:

Time zone error?

Post by oenahs »

unable to convert date-time string "2013-07-20 20:46:11 MSK": syntax error (characters 19-22)

Cannot seem to resolve this issue. Once found a fix for it in the forums but am unable to locate it now. Any suggestions? I am running v6.01d
B
BigToe
Halfop
Posts: 99
Joined: Thu Dec 30, 2010 4:49 pm

Post by BigToe »

Hey speechless,

The twitter script used to work for me untill a few days ago, it stopped working for no obvious reason.

I haven't changed the order of the base/sha/oauth/twitter scripts in the .conf file and I've re-downloaded the scripts from here and I still get the same error:


[14:35] OAuth failed: (???) Unknown problem... No reason given...( timeout )


I haven't changed the apps either.

Help please?
s
shadrach
Halfop
Posts: 74
Joined: Fri Dec 14, 2007 6:29 pm

Post by shadrach »

I have the same problem as in previous post. Has twitter moved to oauth 2?
s
shadrach
Halfop
Posts: 74
Joined: Fri Dec 14, 2007 6:29 pm

Post by shadrach »

I'm pretty certain this is to do with an incorrect date/timezone on the host which is commercial and beyond my influence. The script worked fine before an unexpected reboot. I'm waiting for a seemingly reluctant admin to correct it.
s
shadrach
Halfop
Posts: 74
Joined: Fri Dec 14, 2007 6:29 pm

Post by shadrach »

Server was restarted and script works again.
h
hicks
Voice
Posts: 9
Joined: Wed Dec 19, 2007 3:22 pm

Post by hicks »

Setting this back up on a new install - lost the original files. The oauth.tcl file in http://ereader.kiczek.com/ereader/scripts/twitter.zip currently appears to be an older one which only supports oauth 1.0. Is this correct?
a
alkoleht
Voice
Posts: 6
Joined: Sun Jun 26, 2011 8:12 am

Post by alkoleht »

edit: never mind, fixed it and it is working now
Last edited by alkoleht on Mon Oct 28, 2013 6:16 pm, edited 1 time in total.
User avatar
spithash
Master
Posts: 248
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

I'm having issues with the twitter script, it works on 2 of my 4 channels. the other 2 it seems to +follow (the account actually follows the requested profile) but it just won't display tweets in the channels, when one of my working channels has some common friends and it's working great. the apps I've created in dev.twitter.com are independent, for each channel I use a different app. (yes I have +twitter and +twitterfriends enabled)
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
User avatar
spithash
Master
Posts: 248
Joined: Thu Jul 12, 2007 9:21 am
Location: Libera
Contact:

Post by spithash »

[14:49:03] <@spithash> +follow @notch
[14:49:07] <@nagger> [Twitter]: Successful Follow: [Markus Persson@TheFrunj] (219 Friends; 1402416 Followers) @ http://twitter.com/TheFrunj
[15:02:02] <@spithash> +follow craftbukkit
[15:02:14] <@nagger> [Twitter]: Successful Follow: [Bukkit@EvilSeph] (6 Friends; 127352 Followers) @ http://twitter.com/EvilSeph
Apparently it is following other profiles other than the ones I try to follow :?
Doesn't matter if I add a @ before the profile name, it just follows a different profile.
Libera ##rtlsdr & ##re - Nick: spithash
Click here for troll.tcl
a
alkoleht
Voice
Posts: 6
Joined: Sun Jun 26, 2011 8:12 am

Post by alkoleht »

spithash wrote:
[14:49:03] <@spithash> +follow @notch
[14:49:07] <@nagger> [Twitter]: Successful Follow: [Markus Persson@TheFrunj] (219 Friends; 1402416 Followers) @ http://twitter.com/TheFrunj
[15:02:02] <@spithash> +follow craftbukkit
[15:02:14] <@nagger> [Twitter]: Successful Follow: [Bukkit@EvilSeph] (6 Friends; 127352 Followers) @ http://twitter.com/EvilSeph
Apparently it is following other profiles other than the ones I try to follow :?
Doesn't matter if I add a @ before the profile name, it just follows a different profile.
i get same thing, it happens when last tweet is re-tweeting some one else but it does follow the correct person, it just reports wrong name in IRC
User avatar
speechles
Revered One
Posts: 1398
Joined: Sat Aug 26, 2006 10:19 pm
Location: emerald triangle, california (coastal redwoods)

Post by speechles »

alkoleht wrote:
spithash wrote:
[14:49:03] <@spithash> +follow @notch
[14:49:07] <@nagger> [Twitter]: Successful Follow: [Markus Persson@TheFrunj] (219 Friends; 1402416 Followers) @ http://twitter.com/TheFrunj
[15:02:02] <@spithash> +follow craftbukkit
[15:02:14] <@nagger> [Twitter]: Successful Follow: [Bukkit@EvilSeph] (6 Friends; 127352 Followers) @ http://twitter.com/EvilSeph
Apparently it is following other profiles other than the ones I try to follow :?
Doesn't matter if I add a @ before the profile name, it just follows a different profile.
i get same thing, it happens when last tweet is re-tweeting some one else but it does follow the correct person, it just reports wrong name in IRC
OH SNAP!!!1!shift!!eleven

Yeah, I haven't actually done anything with this script in quite awhile and twitter has made their payloads much more complex. This plays havoc with my parsers. I'll put some time towards this script in this next couple days and fix that issue and a few others I've ran across that annoy me.. haw ;)

Eventually the entire parsing syntax engine will need to be ported over to json/dict just to make ordering/progression easier to keep accurate. Until that time we shall keep rowing our boat gently up this rather difficult stream of data using regexp and nested if statements... lmao

And to clear things up a bit:
http://ereader.kiczek.com/twitter.zip --- supports oauth v1.1 only, no v1.0 support
http://ereader.kiczek.com/scripts/twitter.zip -- supports oauth v1.0 only, no v1.1 support

twitter has killed off support for all v1.0 applications. Both links are up for posterity/legacy sake. So others can see the difference if they ever care to.
Post Reply