c# - Twitter Helper class is not present in System.Web.Helpers -
i trying use asp .net webpages site. following w3schools' tutorial this. started empty asp .net application project , added cshtml page it. after many trouble installed system.web.helpers package nuget , it's working gamercard.
the problem not able use twitter helpers @ all. getting following error when use twitter.profile()
compiler error message: cs0103: name 'twitter' not exist in current context
i used object browser check system.web.helpers assembly , of surprise there no twitter class @ all. can see facebook, gamercard, gravatar etc. classes, no sign of twitter there. acc. this page, twitter class should present there too.
any idea did miss?
found answer on codeplex project site of asp.net. issue mentioned here, stats due retirement of twitter api v1, twitter helper code broken, hence microsoft removed microsoft.web.helpers
namespace completely. more info can found in issue text.
to use twitter helpers, issue mentions newer , more complex method can see here. didn't try yet, hope it'll work.
thanks @gunr2171 helping , pushing in right direction :-)
Comments
Post a Comment