Codebird API in php Request token problem


#1

On local server ‘oauth_callback’ => ‘http://’ . $_SERVER[‘HTTP_HOST’] . $_SERVER[‘REQUEST_URI’] works perfect.but when we deploy our appliction on linux server it gives error To get the authorize URL, the OAuth token must be set.
$_SERVER[‘HTTP_HOST’]=46.32.232.55 which is our server ip address
$_SERVER[‘REQUEST_URI’]=/Connectsm/connecttw/sourceName/Facebook which is action from where we call twitter
Please help us to solved the problem. Thanks