Login using twitter


#1

can anyone help me??

Recently I using twitter API to login in my website
but when I moved all data from my server to another server error happened??

this the error i get

* About to connect() to api.twitter.com port 80 (#0) * Trying 199.59.149.232... * Connected to api.twitter.com (199.59.149.232) port 80 (#0) > GET /oauth/request_token HTTP/1.1 Host: api.twitter.com Accept: */* Connection: Keep-Alive Cache-Control: no-cache User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 Authorization: OAuth  . . .. . . .. .  . . . . . . . . .

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/tweet_test.php

Line Number: 63

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/tweet_test.php

Line Number: 67

< HTTP/1.1 400 Bad Request < content-length: 61 < content-type: application/json; charset=utf-8 < date: Tue, 20 Aug 2013 07:50:36 UTC < server: tfe < set-cookie: guest_id=v1%3A137698503662192974; Domain=.twitter.com; Path=/; Expires=Thu, 20-Aug-2015 07:50:36 UTC < * Expire cleared * Connection #0 to host api.twitter.com left intact
A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/tweet_test.php

Line Number: 103

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/sloki/user/upnormals40/sites/topcaleg.com/www/system/core/Exceptions.php:170)

Filename: helpers/url_helper.php

Line Number: 543 

#2

You should take a look at the response body of that HTTP 400 – it might indicate a more detailed error message as to what’s amiss.