Quantcast
Channel: Tweetinvi a friendly Twitter C# library
Viewing all articles
Browse latest Browse all 4126

New Post: Display timeline

$
0
0
Not sure if I'm missing the point of the API and this library but I a m looking to use it to display my Tweets on my ASP.NET MVC homepage. I have all the library code working find and returning the array of tweets but I am a little unsure of how to actually render them to the screen.

Could someone point me in the right direction ?

Was string to write my own template but seems like reinventing the wheel:
@for (int i = 0; i < Model.Length; i++)
            {
                <div class="row">
                    <div class="col-xs-3 pull-right"><a href="#">@Model[i].CreatedAt.ToString("MMM yy")</a></div>
                    <div class="col-xs-9">
                        <img src="@Model[i].Creator.ProfileImageUrl" /><span>@Model[i].Creator.Name</span><span>@Model[i].Creator.ScreenName</span>
                    </div>
                </div>
            }

Viewing all articles
Browse latest Browse all 4126

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>