Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Carl Fraser 10 posts 40 karma points
    Jun 14, 2013 @ 17:09
    Carl Fraser
    0

    Installation

    HiPlease can you give details on how to install uTwit. I've installed the datatype package, but aren't sure where to go from here.I want our 3 most recent tweets to be put in our Master PageMany thanksBest regardsCarl

  • Alan 1 post 21 karma points
    Jun 17, 2013 @ 00:46
    Alan
    0

    I'm having difficulties following the instructions too.

     

    I have completed the authorisation part, but getting the 400 error in the latest tweets xslt. Would someone mind describing how these items link together please?

     

    I have created a page called utAuth at the root of my site, this has allowed me to authorise my twitter account for this application in a property I have named uTwitOAuth. I then go to latesttweets.xslt and try to change the twitterOAuthPropertyAlias select value from twitter to uTwitOAuth but get the 400 error.

     

    Any suggestions as to what I may have missed. I have tried changing the output of the datatype to xml.

     

    Thanks

     

    Alan

  • Pieter Kuppens 1 post 21 karma points
    Jun 21, 2013 @ 11:25
    Pieter Kuppens
    0

    I'm very new to Umbraco and uTwit too, and had troubles too.

    I made this step by step, install instructions.

    Here is how I did installation:

    1. Install new Umbraco using WebMatrix, install Umbraco CMS from App Gallery
    2. I used Business Site template, so my example 
    3. I downloaded both packages from the package list in the bottom of: http://our.umbraco.org/projects/website-utilities/utwit
    4. Installed them both with Developer/Packages/Install local package, Data Type package first.
    5. To have a latest tweets widget on the home page:
      On Umbraco Settings/Document Types/Homepage I added new property 'twitter' of Twitter OAuth Data Type, I placed it on the Site tab.
    6. On Content/Business Site I see the twitter step, and I clicked Authorize... And did the twitter login stuff. (Firefox worked better than IE!)
    7. On the Settings/Templates/Starterkit Master/Business Homepage which should be my start page master page/template, I included:
    8. Pressed Save and on Content/Business Site, pressed Save and publish.
    9. Then I did preview, only to find:
      Error parsing XSLT file: \xslt\latestTweets.xslt  
    10. When I did the Developer/XSLT Files/LatestTweets  and then Visualize XSLT on the Business Site, I got:

      Error parsing the XSLT:

      System.Xml.Xsl.XslLoadException: XSLT compile error. An error occurred at (62,1). ---> System.IO.FileNotFoundException: Could not find file 'C:\Windows\system32\TweetList.xslt'. File name: 'C:\Windows\system32\TweetList.xslt' at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize) at ...
       
    11. Fixed this by Developer/Data Types/Twitter OAuth Data Type -> Data format -> Xml.
    12. Did all the saving and republish complete website, and it seems to work!
  • ianh 1 post 21 karma points
    Aug 01, 2013 @ 23:55
    ianh
    0

    I had a couple of problems too, namely:

    1. Make sure you add a callback url when registering for an app on Twitter.   That will allow the authorise step to work smoothly.
    2. In LatestTweets.xslt, make sure the select="" part in <xsl:param name="twitterOAuthPropertyAlias" select="'twitter'" /> matches the name you chose when you added the twitter oAuth data type to your doc type.  Mine didn't, and gave the same error that Pieter had at step 10 until I spotted my error.

    So there's nothing wrong with the package (despite the bad press elsewhere on the web), but the error messages I encountered didn't really give many clues as to the cause.   It's saved me a lot of time however, so I'm grateful for that.

Please Sign in or register to post replies

Write your reply to:

Draft