Menu

#113 Add twitter support.

open
Wishlist (86)
5
2009-12-12
2009-12-05
No

Twittering for login, leveling, badges, etc.

Discussion

  • Skip Franklin

    Skip Franklin - 2009-12-12
    • assigned_to: nobody --> ineffablebob
     
  • Skip Franklin

    Skip Franklin - 2009-12-12

    It's an interesting idea. I'd have to read up a bit on the Twitter API and figure out what events should be allowed to post something. I'll think about it a bit and maybe work on it when I get time off work over the holidays. Thanks for the suggestion!

     
  • Skip Franklin

    Skip Franklin - 2010-02-19

    Very basic Twitter support is now in the unstable builds. I'm going to leave this open, though, because I have quite a bit of stuff I want to add. Such as:

    - Letting a user modify what the tweet looks like.
    - Removing twitter integration by using the HeroStats app, rather than having to go to Twitter settings.
    - Tweets for things other than level-up.

     
  • Nobody Special

    Nobody Special - 2010-03-06

    I get an error when I try to set it up. It could be on my end, but I'm not sure.

    Here is the log file snippet.

    --
    2010-03-06 13:11:26,640 [1] ERROR HeroStats.GlobalConfigForm - Failed to get Twitter access token: System.Net.WebException: The remote server returned an error: (401) Unauthorized.

    at System.Net.HttpWebRequest.GetResponse()

    at WebIntegration.oAuthTwitter.WebResponseGet(HttpWebRequest webRequest) in C:\skip\coh\HeroStatsSVN\herostats\WebIntegration\OAuthTwitter.cs:line 648

    at WebIntegration.oAuthTwitter.WebRequest(Method method, String url, String postData) in C:\skip\coh\HeroStatsSVN\herostats\WebIntegration\OAuthTwitter.cs:line 619

    at WebIntegration.oAuthTwitter.oAuthWebRequest(Method method, String url, String postData) in C:\skip\coh\HeroStatsSVN\herostats\WebIntegration\OAuthTwitter.cs:line 574

    at WebIntegration.oAuthTwitter.AccessTokenGet() in C:\skip\coh\HeroStatsSVN\herostats\WebIntegration\OAuthTwitter.cs:line 455

    at HeroStats.GlobalConfigForm.btnTwitter_Click(Object sender, EventArgs e)

    2010-03-06 13:11:26,640 [1] ERROR HeroStats.GlobalConfigForm - Failed to set up Twitter: System.Net.WebException: The remote server returned an error: (401) Unauthorized.

    at HeroStats.GlobalConfigForm.btnTwitter_Click(Object sender, EventArgs e)
    --

     
  • Skip Franklin

    Skip Franklin - 2010-03-07

    That "unauthorized" error happens when you haven't allowed HeroStats to access your Twitter account. Trying making sure you're logged out of Twitter in your web browser and clearing your cache before trying again to run through the HeroStats Twitter setup. You can also try setting your logging level to debug and providing the full log, if the problem persists.

     
  • Nobody Special

    Nobody Special - 2010-03-11

    It turns out to be some type of error with my Firefox configuration. I temporarily made my default IE and it worked fine. It's some type of start up error with FF, since the "get the update" registers as a fail, but works (opens to the right page) anyway.

     
  • Skip Franklin

    Skip Franklin - 2010-03-11

    Odd, worked fine for me with FireFox. Glad you got it working, anyway.

     
  • Skip Franklin

    Skip Franklin - 2010-03-24

    Just released 4.9.1.2, which includes options for badge tweets. There's also an option to limit the level-up tweets only above a certain level (defaults to above L10).

     

Log in to post a comment.