CodeGarden 10: The sixth annual Umbraco Developer Conference
June 23-25th 2010 - free ASP.NET MVC pre-conference. Register today!

it's not tweeting yet

 

9/12/2009 8:22:09 PMAvatarSebastiaan JanssenLocation: 2584GJ, The Hague, The Netherlandsposts: 575Karma: 1362

Hey Darren, this seems like an awesome package! However, somehow it's not working for me.

Hope you can help me out. I've changed the document_type alias from BlogPostComment to blogpostcomment because of the lowercasing in the log, did not make any difference though. Other than that, it seems like everything is configured correctly.

The /umbraco/plugins/DocumentPublishTweet/tweet.config (with the username and password censored obviously, they are correct though):

<config>
  <accounts>
    <account key="mainaccount">
      <login>username</login>
      <password>password</password>
    </account>
  </accounts>
  <document_types>
    <document_type alias="blogpostcomment">
      <tweets>
        <tweet>
          <account>mainaccount</account>
          <message>d sebastiaan #title# - #url#</message>
        </tweet>
      </tweets>
    </document_type>
  </document_types>
</config>

The umbracoLog messages:

userId NodeId Datestamp logHeader logComment
0 -1 2009-09-12 20:07:56.037 Debug Xml saved in 00:00:00.0022162
0 -1 2009-09-12 20:07:56.037 Debug Xml saved in 00:00:00.0026981
0 1218 2009-09-12 20:07:56.033 Publish  
0 -1 2009-09-12 20:07:56.030 Debug FMDOCTWEET:: Doctype is: blogpostcomment. host is: cultiv.nl
0 -1 2009-09-12 20:07:56.030 Debug FMDOCTWEET:: Firing event
0 1218 2009-09-12 20:07:56.023 Publish  
9/13/2009 12:29:27 AMAvatarbob baty-barrLocation: 339 elm street batavia, ILposts: 691Karma: 431
Comment with ID: 14647

i was never able to get this working either,  but i chalked it up to user failure and had to move away from working on my site to paying gigs :P if you figure it out, let me know!

9/15/2009 10:54:12 AMAvatarDarren FergusonLocation: SE3 9EFVendor.posts: 376Karma: 534
Comment with ID: 14791

@bob - I did a complete rewrite since you had those issues before.

@Sebastiaan - Am looking into your issue now.

9/15/2009 10:56:47 AMAvatarDarren FergusonLocation: SE3 9EFVendor.posts: 376Karma: 534
Comment with ID: 14792

@Sebastiaan can you try adding a domain_filter attrib to your tweet as specified in the docs and let me know if that works for you.

I can be empty. I think I have a bug where it will throw an expection if the domain filter attrib were to be null.

 

 

9/21/2009 12:26:58 PMAvatarSebastiaan JanssenLocation: 2584GJ, The Hague, The Netherlandsposts: 575Karma: 1362
Comment with ID: 15194

Unfortunately, I am still getting the same messages in the log file, the config file now looks like this:

<config>
  <accounts>
    <account key="mainaccount">
      <login>cultiv</login>
      <password>123barry</password>
    </account>
  </accounts>
  <document_types>
    <document_type alias="blogpostcomment">
      <tweets>
        <tweet domain_filter="cultiv.nl">
          <account>mainaccount</account>
          <message>d sebastiaan #title# - #url#</message>
        </tweet>
      </tweets>
    </document_type>
  </document_types>
</config>

Maybe I have some uncommon set-up? Windows 2008 server (IIS 7), extensionless URL's maybe?

9/21/2009 1:38:04 PMAvatarDarren FergusonLocation: SE3 9EFVendor.posts: 376Karma: 534
Comment with ID: 15203

Does your log table extract still look the same after those config changes?

9/21/2009 1:39:43 PMAvatarSebastiaan JanssenLocation: 2584GJ, The Hague, The Netherlandsposts: 575Karma: 1362
Comment with ID: 15204

Yes sir, as stated in my previous comment.. ;-)

9/21/2009 2:15:06 PMAvatarDarren FergusonLocation: SE3 9EFVendor.posts: 376Karma: 534
Comment with ID: 15209

I'm afraid it is a bit of a mystery to me at the moment.

Could you perhaps try it with an empty domain_filter attribute?

You config and O/S shouldn't make any difference at all.

9/23/2009 5:50:42 AMAvatarSebastiaan JanssenLocation: 2584GJ, The Hague, The Netherlandsposts: 575Karma: 1362
Comment with ID: 15375

Sorry, still no dice. I tried an empty domain filter, I tried to include "www.", als I saw in the log that my index was corrupt, so I did a re-index, tried all options again to make sure that the index wasn't interfering. Still nothing.

The config should not make a difference, but might still be the fact that I'm running the .net 3.5 config and IIS is in pipeline mode?

10/28/2009 5:30:06 PMAvatardillorscroftLocation: Crewe, UKposts: 108Karma: 42
Comment with ID: 18002

I'm having the same issue.  Do you think it could be a security issue on Windows 7?  

10/28/2009 6:03:35 PMAvatardillorscroftLocation: Crewe, UKposts: 108Karma: 42
Comment with ID: 18008

The log file says it's been tweeted as well as the fact that I have stepped through it using a debugger and the event it fired. 

I'm not sure what I should be getting back from Twitter but it doesnt seem like the correct info.

Pages:

Please login or Sign up To post replies