Copied to clipboard

Flag this post as spam?

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


  • Srdjan 19 posts 53 karma points
    Jun 08, 2015 @ 13:21
    Srdjan
    0

    Using dll for creating short urls including request parameters

    Hello all,

    Is it possible to use your lbrary to programmatically create shorter url including query string parameters?

    Something like: AgeBase.BitlyUrlShortener.GenerateShortUrl("/test?param1=1&param2=test&param3=true") which will return short url.

     

    Thanks,

    Srdjan

  • Dan Lister 416 posts 1974 karma points c-trib
    Jun 09, 2015 @ 13:06
    Dan Lister
    101

    Hi Srdjan,

    I've just uploaded a new version of the package. You should be able to do something like the following now:

    var shortenedUrl = AgeBase.BitlyUrlShortener.Helpers.BitlyUrlShortenerHelper.ShortenUrl(
        "http://www.google.co.uk/", 
        "apiKey", 
        "login");
    

    I hope that helps.

    Thanks, Dan.

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies