egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Birdy (OAuth, Twitter, Tweets&MegaHAL v6.01d) Jun12,2013
Goto page Previous  1, 2, 3 ... , 19, 20, 21  Next
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases
View previous topic :: View next topic  
Author Message
Nocty
Voice


Joined: 17 Jun 2014
Posts: 15

PostPosted: Tue Oct 21, 2014 11:51 am    Post subject: Found the issue Reply with quote

Special thanks to thommey and chrfle over at #egghelp for helping me find the issue.

If you have other scripts that make http::register calls, you must comment out those calls and source twitter.tcl before them, otherwise the scripts will conflict with each other.
Back to top
View user's profile Send private message
Xion
Voice


Joined: 21 Feb 2016
Posts: 3

PostPosted: Sun Feb 21, 2016 5:55 pm    Post subject: Reply with quote

&Xion +follow @citronresearch
16:46 twitt3r OAuth failed: (401) Errors: [{code: 32; Message: could not authenticate you.}] ( ok )


Anyone that can help with this im stumped
Back to top
View user's profile Send private message
NewzNZ
Voice


Joined: 05 Mar 2009
Posts: 23

PostPosted: Mon Feb 22, 2016 6:04 pm    Post subject: Reply with quote

Hi - things working ok here..perhaps try re-generating your twitter oauth keys?
_________________
Realtime News + Trading Action 24:7
http://iNewsroom.net
Back to top
View user's profile Send private message Visit poster's website
Xion
Voice


Joined: 21 Feb 2016
Posts: 3

PostPosted: Mon Feb 29, 2016 7:50 pm    Post subject: Reply with quote

invalid command name "sha1::sha1"

I get that command doing +follow and !tweet. any ideas?
Back to top
View user's profile Send private message
Xion
Voice


Joined: 21 Feb 2016
Posts: 3

PostPosted: Tue Mar 08, 2016 7:13 pm    Post subject: Reply with quote

Does this do automatic retweeting? if so what am i missing to set it up?
Back to top
View user's profile Send private message
Nocty
Voice


Joined: 17 Jun 2014
Posts: 15

PostPosted: Mon Apr 25, 2016 11:23 am    Post subject: Mishandling Retweets and directed tweets (@username) Reply with quote

Script is currently mishandling retweets or any tweet containing an @username reference, attributing them to the wrong Twitter handle:


Code:
<Vlesk@Vlesk> Got some bomb ass viet food, my visa approved and Game of Thrones while spending time with the homie @Vlesk. Life is great today < (13s ago)


Tweet above is not by "Vlesk" but is directed to him "@Vlesk". This appears to cause the calls to screen name / user name to reference the last mentioned @ in the Tweet rather than the person originating it.

Retweets containing @ also have a related issue:

Code:
<Skyen@TBSkyen> RT @TBSkyen: @RiotQuickshot @BeccaCRoberts I only know one way to respond to amazing news https://t.co/n78aBf3rZu (0s ago)


This is a retweet of something by "TBSkyen" but is actually being retweeted by "RiotQuickShot"--this only seems to happen if the retweet starts with an @username as the below retweet displays correctly:

Code:
<FORG1VEN retweeting Erik van Helvert@TabzzLoL> RT @TabzzLoL: >take t2 tower botlane at 12 minutes (53s ago)
Back to top
View user's profile Send private message
SignZ
Voice


Joined: 17 Jun 2010
Posts: 18

PostPosted: Fri Jun 03, 2016 5:07 am    Post subject: Reply with quote

Really weird thing happening to my bot for the last couple days. Whenever I want to start it with the twitter.tcl loaded, I'm getting the following error:
Code:
[10:58:54] Tcl error in file 'eggdrop.conf':
[10:58:54] invalid command name "
[10:58:54] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

I have no idea what exactly broke in the .tcl file (I redownloaded it already but without any luck of it working again).
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 921

PostPosted: Fri Jun 03, 2016 8:31 am    Post subject: Reply with quote

Is that the whole crash message?


Also, examine eggdrop.conf carefully. (Have you recently made an edit to it? )
Do you have a line with just a " on it? As in perhaps a typo or accidental carriage return cause a " to move down a line?

It would be easy to prove that the problem is or is not in that script file.
Simply comment out the source line that loads it.

If your bot will then run normally, then the problem is either in that script file (and I think you'd see more in the crash message) or in the source line that tries to load it.

If the problem persists, then you know it is nothing to do with that script file or the line that loads it.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
SignZ
Voice


Joined: 17 Jun 2010
Posts: 18

PostPosted: Fri Jun 03, 2016 8:49 am    Post subject: Reply with quote

Yup, that's the whole message (which really confuses me). I tried commenting out the line already (in fact, I have to do that to even start the bot).
If the eggdrop.conf got the following 4 lines, it won't start (showing the error above)
Code:
source scripts/sha1.tcl
source scripts/base64.tcl
source scripts/oauth.tcl
source scripts/twitter.tcl


Commenting it out
Code:
source scripts/sha1.tcl
source scripts/base64.tcl
source scripts/oauth.tcl
#source scripts/twitter.tcl

lets the bot start normally.

Just tried re-adding (uncommenting) the line, did a .restart on partyline and that resulted in
Code:
[14:44:57] <Cthulhu> [14:44:54] Tcl error in file 'eggdrop.conf':
[14:44:57] <Cthulhu> [14:44:54] invalid command name "
[14:44:57] <Cthulhu> [14:44:54] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

again (strangely enough, in the partyline there's some hyphen-like symbol (which won't copy/paste properly over here) after the " in invalid command name " ). That can be seen here
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 921

PostPosted: Fri Jun 03, 2016 9:16 am    Post subject: Reply with quote

Something came to mind...

I assume you are editing these script files, according to the directions in them, to configure them.

How do you go about that?
What are you using to edit them?
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
SignZ
Voice


Joined: 17 Jun 2010
Posts: 18

PostPosted: Fri Jun 03, 2016 9:49 am    Post subject: Reply with quote

The same program I've used for years, Notepad++.
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 921

PostPosted: Fri Jun 03, 2016 10:04 am    Post subject: Reply with quote

SignZ wrote:
The same program I've used for years, Notepad++.



So it is not likely that the problem is with the editor introducing something unwanted.

If you wish, pastebin the faulty script here:
http://paste.tclhelp.net/

and post the link to it here. Maybe somebody here can spot it.
Maybe the pastebin itself will point you to the error.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
SignZ
Voice


Joined: 17 Jun 2010
Posts: 18

PostPosted: Fri Jun 03, 2016 10:32 am    Post subject: Reply with quote

Did that and got a couple errors, heh.
http://paste.tclhelp.net/?id=ib6
Back to top
View user's profile Send private message
willyw
Owner


Joined: 15 Jan 2009
Posts: 921

PostPosted: Fri Jun 03, 2016 11:00 am    Post subject: Reply with quote

SignZ wrote:
Did that and got a couple errors, heh.
http://paste.tclhelp.net/?id=ib6


I'm not familiar with that command that the pastebin thinks is an error, and I haven't looked it up.

But, for the heck of it, I copy-n-pasted from that pastebin, into nano, and saved.

Made no edits.


For what it is worth....
That script loaded fine in a bot of mine. No crash.
_________________
For a fun (and popular) Trivia game, visit us at: irc.librairc.net #science-fiction . Over 300K Q & A to play in BogusTrivia !
Back to top
View user's profile Send private message
silkvistor
Voice


Joined: 13 Aug 2016
Posts: 1

PostPosted: Tue Aug 16, 2016 9:12 am    Post subject: Reply with quote

i have a problem when added to multiple channel, its okey at 1st channel but in 2nd and 3rd channel not display. I already set here

Code:
set twitter(accts) {
   "#chan1|acct1|consumer_key1|consumer_secret1|access_token_key1|access_token_secret1"
   "#chan2|acct2|consumer_key2|consumer_secret2|access_token_key2|access_token_secret2"
   "#chan3|acct3|consumer_key3|consumer_secret3|access_token_key3|access_token_secret3"
}


Also

Code:
.chanset #channel1 +twitter
.chanset #channel2 +twitter
.chanset #channel3 +twitter


But nothing happen at chanel 2 & 3. Please help. Thx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Support & Releases All times are GMT - 4 Hours
Goto page Previous  1, 2, 3 ... , 19, 20, 21  Next
Page 20 of 21

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber