Copied to clipboard

Flag this post as spam?

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


  • Mr A 216 posts 278 karma points
    Jul 04, 2013 @ 10:18
    Mr A
    0

    Using Utweet on non umbraco website

    Hi 

    I have used utweet on a couple of umbraco website which works great. I want to use this pacakge on another simple html website which doesnt use umbraco , i have refrenced the required dlls , just need to know how will i pass the Twitter consumer key/secret and access Token/secret , or is it not possible to use this pacakage elsewhere.

     

    Thanks

  • Nick Garrard & Davy Belmans 25 posts 142 karma points
    Jul 04, 2013 @ 10:34
    Nick Garrard & Davy Belmans
    100

    Hi,

    I don't know if you can use the package outside umbraco, but the keys and tokens are also accessible as public properties, so maybe it's possible.

     t = new uTweets.Tweets();
     t.ConsumerKey = "****************";
     t.ConsumerSecret = "****************";
     t.AccessToken = "**************************";
     t.AccessTokenSecret = "*************************";

    Let me know if it works.

    regards,

    Davy

  • Mr A 216 posts 278 karma points
    Jul 04, 2013 @ 10:41
    Mr A
    0

    I will give it a try and update ou . Thanks

  • Mr A 216 posts 278 karma points
    Jul 04, 2013 @ 10:54
    Mr A
    0

    Well it works but i have add an extra reference to umbraco.dll to make it work , as the utweet dll uses umbraco core , is there any worka round , i myt just used the tweetsharp library.

     

  • Nick Garrard & Davy Belmans 25 posts 142 karma points
    Jul 04, 2013 @ 11:17
    Nick Garrard & Davy Belmans
    0

    Hi, I don't think you can do it without the umbraco dll, it's an umbraco package so you'll need it if you want to use the utweets package dll.

    Davy

Please Sign in or register to post replies

Write your reply to:

Draft