Copied to clipboard

Flag this post as spam?

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


  • Jan Eversby 1 post 21 karma points
    Jul 10, 2014 @ 10:56
    Jan Eversby
    0

    Skybrud.social and Umbraco 7

    Hi Anders.

    I have stumbling around the Internet to find something that will display certain tagged photos from Instagram on a page in Umbraco 7.

    Not much there I have to admit. I found Skybrud.Social but there is not much documentation and it is not for Umbraco 7.

    I read a tweet from you stating the Skybrud.Social package for Umbraco 7 is coming along fine. Can you give me a hint of a date where I could start looking at it and do you offer any kind of documentation?

    Best regards

    Jan Eversby

  • Anders Bjerner 487 posts 2989 karma points MVP 7x admin c-trib
    Jul 10, 2014 @ 14:48
    Anders Bjerner
    1

    Hi Jan,

    At the moment, my code for the Umbraco 7 package roughly has the same features as the package for Umbraco 6, and in theory I should be able make the first release tonight. But there are a few things that I will have to look into first since this will be my first package for Umbraco 7.

    However can you elaborate a bit further on what you're trying to do? From what I can tell, you might not even need this package.

    Skybrud.Social for Umbraco utilizes my Skybrud.Social framework, and with this framework alone you can do something like the code below. In order for this to work, you must specify a client ID and a client secret which you can obtain by creating an Instagram app. If you just need to pull public images and videos this code will be sufficient, and you don't have to focus on user authentication (which is what the Umbraco package will help you with).

    // Initialize a new service instance
    InstagramService service = InstagramService.CreateFromOAuthClient(new InstagramOAuthClient {
        ClientId = "",
        ClientSecret = ""
    });
    
    // Fetch the most recent media with the "bacon" tag
    InstagramRecentMediaResponse response = service.Tags.GetRecentMedia("bacon");
    
    // Do something with the media
    foreach (InstagramMedia media in response.Data) {
    
    
    
    }
    

    If this seems to solve your needs, you can install Skybrud.Social via this NuGet package or download the DLL from GitHub.

    Let me know how this works out for you ;)

  • keilo 568 posts 1023 karma points
    Jul 13, 2014 @ 07:56
    keilo
    0

    Looking forward to the v7 package

    cheers!

  • Anders Bjerner 487 posts 2989 karma points MVP 7x admin c-trib
    Jul 14, 2014 @ 02:21
    Anders Bjerner
    1

    There is now a new package for Umbraco 7 here: http://our.umbraco.org/projects/website-utilities/skybrudsocial-for-umbraco-7

    The documentation is currently a bit limited, so I will try to work on that tomorrow ;)

    Personally I prefer to install packages via NuGet when possible, so a NuGet package will also be available tomorrow.

  • keilo 568 posts 1023 karma points
    Jul 16, 2014 @ 07:37
    keilo
    0

    This is awesome. Thank you for the amazing work!

Please Sign in or register to post replies

Write your reply to:

Draft