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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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)
--
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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.
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)
--
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.
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.
Odd, worked fine for me with FireFox. Glad you got it working, anyway.
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).