🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

crafted.twitter

Package Overview
Dependencies
Maintainers
0
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

crafted.twitter

1.0.5.21452
unpublished
NuGet
Version published
Maintainers
0
Created
Source

This library contains a web form control and an MVC HtmlHelper extension to add a twitter feed to your projects, it contains built in cacheing and both synchronous and asynchronous options.

To implement this you will have to add the following app settings;

You will need to generate the key and token values from your twitter account.

Web forms control ref:

<Crafted.Twitter:Timeline id="twitFeed" runat="server" CssClass="twitter-container" TweetCount="1" ShowReplies="true" ShowReTweets="false" ScreenName="" ListName="" IsAsync="true"></twit:Timeline>

None of these parameters are required, if the screenname is not specified it will fetch tweets associated with the authentication details.

MVC include:

@Html.RenderTwitterFeed(3, false, false, true, "", "", "")

The parameters are as follows;

int tweetCount bool showReplies bool includeRetweets bool isAsync = false string screenName = null string listName = null string CssClass = "tweet-container"

If the screenname property is left as null then it will fetch tweets associated with the authentication details, if a list name is supplied then the tweets will be selected from the list and the showReplies flag will be ignored.

The markup that the twitter feed outputs as is wrapped in a

    and is as follows;

    • {User.Identifier.ScreenName}

      {Text:RichText}

      {CreatedAt:Date} {CreatedAt:TimePassed}

FAQs

Package last updated on 15 Apr 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts