'How to find oaut_consumer_key in Twitter api?
I was downloading a Demo of Twitter "xAuth with .NET"
from this Article link http://www.voiceoftech.com/swhitley/index.php/2010/03/twitter-xauth-with-net/
when I run this application and give the user name and password then a runtime error generated with "Value cannot be null. Parameter name: consumerKey"
message.
Solution 1:[1]
Reading the comments in the article, it states that the information for consumer keys etc. are stored in the appliction config and users of the demonstration use their own keys.
Get yourself a key and input the values to the application config.
Solution 2:[2]
The OAuth ConsumerKey, should be in your application.config (it typically is). You can always go ahead and register for a dev account to get your own ConsumerKey and ConsumerSecret from Twitter and specify your own. Some more info here.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | LukeHennerley |
Solution 2 | Dimitar Dimitrov |