abjerner / Skybrud.Social

Skybrud.Social is a framework in .NET for integration with various social services like Twitter, Facebook and Instagram. The framework will handle all the technical parts and API communication so you don't have to.
http://social.skybrud.dk/
MIT License
96 stars 32 forks source link

Instagram tags endpoint missing search #36

Closed artemsnisarenko closed 9 years ago

artemsnisarenko commented 9 years ago

Missing api fearture https://instagram.com/developer/endpoints/tags/#get_tags_search

abjerner commented 9 years ago

Thanks for reporting. I will make sure to add that for the next release ;)

abjerner commented 9 years ago

This was implemented a few days ago, so if you pull down the latest code, you will be able to do something like:

@using Skybrud.Social.Instagram
@using Skybrud.Social.Instagram.Objects
@using Skybrud.Social.Instagram.Responses
@inherits System.Web.Mvc.WebViewPage<InstagramService>

@{

    InstagramSearchTagsResponse response = Model.Tags.Search("bacon");

    <h3>Tags matching search (@response.Body.Data.Length)</h3>

    foreach (InstagramTag tag in response.Body.Data) {

        <div>@tag.Name (@tag.MediaCount)</div>

    }

}

I will make a new release in one of the following days (or today if I can make it).