Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
I'm trying to add Twitter capability to an indicator but I'm really stuck. I'm using Twitterizer which seems to be the leading .NET Twitter API.
I've copied their code from the samples:
And I add a reference to the Twitterizer DLL and it's JSON dependancy:
But when my code executes I get an error:
Could not load file or assembly 'Twitterizer2, Version=2.4.0.2028, Culture=neutral, PublicKeyToken=xxx' or one of its dependencies. The system cannot find the file specified.
So now I'm stuck. I posted at the ninja forums but so far no response. There are a few other files that come with it, I can't add references to them because they're not DLL files. I put them in the same directory as the twitterizer DLL.
I think Ninja is not picking these up. I'm not sure where else I can put them.
If anyone has any ideas I'd be very grateful. Thanks.
Can you help answer these questions from other members on NexusFi?
Twitterizer libs, did you recompile them in .Net 3.5 ?
It's .Net 4.0 by default, that will be your next problem .
I work on this last week, and ended by creating a .Net 4.0 console .exe, called asynchronously byt my NT strats.
I put them there and got the same result. I'll restart Ninja after the close and see if that makes a difference.
Next task is to find someone with Twitterizer compiled for .NET 3.5 or a volunteer to compile it. The developer told me it should compile for 3.5 without any problems, but I don't have visual studio.
hello everyone.. need help, I'd tried to post a tweet in the twitter in the using ninjatrader Indicator, this code was working in the ASP.NET but not in the ninja,,, I got this error when I compile it.
The name 'Response' does not exist in the current context The name 'Request' does not exist in the current context
any can help pls??
try
{
var oauth_consumer_key = "consumerKey";
var oauth_consumer_secret = "ConsumerSecret";