I have created a StatusNet instance.
Registered and OAuth App.
Got consumer_key and consumer_secret from the OAuth App (but not the oauth_token and oauth_token_secret).
Wrote a simple Ruby script (also tried from irb console) to interact with my StatusNet instance.
Used Twitter library for Ruby (
https://github.com/sferik/twitter)
Passed endpoint, consumer_key and consumer_secret configs but have no clue what to do with oauth_token and oauth_token_secret.
When I try to update status it throws the following error.
---------------------------------------------------
lexical error: invalid char in json text.
<!DOCTYPE html PUBLIC "-//W3C//<br /> (right here) ------^
---------------------------------------------------
Any help?