0

So I have this code which has been posting tweets just fine up until now...

public_tweets = api.home_timeline()

for tweet in public_tweets:

    name = ('\nTweet by: @' + tweet.user.screen_name)
    ID = ('\nID: @' + str(tweet.user.id)+ '\n')

    tweet = (tweet.text)
    space = ("\n\n")

    TwitterText.insert(END,name+ID+tweet+space)

But for some reason this error keeps appearing now: _tkinter.TclError: character U+1f40d is above the range (U+0000-U+FFFF) allowed by Tcl

I understand that this has something to do with some characters not being able to be shown in Tkinter but is there any way to fix this???

Bryan Oakley
  • 370,779
  • 53
  • 539
  • 685

0 Answers0