I am using the Abraham's code downloaded from GIthub for simple
application which authorizes and post a tweet on user's wall which
authorize it.

I simply put the

consumer key
consumer secret
and callbackurl

which I got after registering this application
in the config.php file.

It worked fine for 1 day but now I am getting this error in
application

"Could not connect to Twitter. Refresh the page or try again later."

and in twurl console (suppose for account/verify_credentials)




(request)


opening connection to api.local.twitter.com...
opened
<- "GET /1/account/verify_credentials.xml HTTP/1.1
Accept: */*
Connection: close
User-Agent: OAuth gem v0.3.4.1
Authorization: OAuth oauth_nonce=
\"E8kvCmeV6sVMt0I8a2cSzc5wSfx7Io3VxXl69JiY\", oauth_signature_method=
\"HMAC-SHA1\", oauth_timestamp=\"1300390460\", oauth_consumer_key=
\"1i22KFwI3N6L3OcYtQEg\", oauth_token=\"265968250-
O7WgA41oR4IPrk05jcYju88Y26kNAZAlRhQUJKCA\", oauth_signature=
\"ue89%2B5vF%2FLxZngI6T%2B6%2FMedfa8M%3D\", oauth_version=\"1.0\"
Host: api.local.twitter.com:9000








(response)

Response Headers
Expires: Thu, 17 Mar 2011 20:04:20 GMT
Connection: close
Content-Type: application/xml; charset=utf-8
Www-Authenticate: OAuth realm="http://api.local.twitter.com:9000";
Server: hi
Date: Thu, 17 Mar 2011 19:34:20 GMT
Content-Length: 158
Set-Cookie: k=10.59.200.50.1300390460906353; path=/; expires=Thu, 24-
Mar-11 19:34:20 GMT; domain=.twitter.com, guest_id=130039046090950671;
path=/; expires=Sat, 16 Apr 2011 19:34:20 GMT,
_twitter_sess=BAh7BiIKZmxhc2hJQzonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo
%250ASGFzaHsABjoKQHVzZWR7AA%253D
%253D--1164b91ac812d853b877e93ddb612b7471bebc74; domain=.twitter.com;
path=/; HttpOnly
Vary: Accept-Encoding
Cache-Control: no-cache, max-age=1800
Status: 401 Unauthorized
Response Body

<?xml version="1.0" encoding="UTF-8"?>
<hash>
  <request>/1/account/verify_credentials.xml</request>
  <error>Invalid / suspended application</error>
</hash>




and also when I click on "My access Token" from application settings
page, then I get only one line on top left page as follows

/apps/796740/my_token Invalid / suspended application


please give me any solution for this, I read a similar problem in this
group but there was no reply for that problem(post)

-- 
Twitter developer documentation and resources: http://dev.twitter.com/doc
API updates via Twitter: http://twitter.com/twitterapi
Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list
Change your membership to this group: 
http://groups.google.com/group/twitter-development-talk

Reply via email to