Calback url

4 views
Skip to first unread message

omar farooque

unread,
Feb 24, 2011, 5:13:36 PM2/24/11
to Orkut php client
Can guide me where to set calback_url ?

Robson Dantas

unread,
Feb 25, 2011, 9:02:22 AM2/25/11
to orkut-ph...@googlegroups.com
Callback url is set automatically to the same domain you are calling the lib. By the way, if you wanna do that, just open orkut-3legged.php,  line 123, see:


Best

Robson Dantas
@robsondantas

2011/2/24 omar farooque <omarfar...@gmail.com>

omar farooque

unread,
Mar 2, 2011, 8:32:51 PM3/2/11
to orkut-ph...@googlegroups.com
i still trying to find out . i saw that script callbackUrl  'http://'. $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
but that redirect me like this http://domain.com/auth.php?oauth_verifier=piGj3qYKVsjcKk80KBiff4Vz&oauth_token=4%2FXv_SUNwQeDA09wjI-DJ-pQC4bSC5

Robson Dantas

unread,
Mar 3, 2011, 1:08:09 PM3/3/11
to orkut-ph...@googlegroups.com
Did you change the line I mentioned ?

As stated, by default, the page which is calling the library will be the callback. That is what this line does.

If you wanna change, just go and edit it. Don´t forget to clean your cookies.

Robson Dantas
@robsondantas

2011/3/2 omar farooque <omarfar...@gmail.com>

omar farooque

unread,
Apr 11, 2011, 7:27:38 PM4/11/11
to Orkut php client
thanks a lot
this is fine

On Mar 3, 11:08 am, Robson Dantas <biu.dan...@gmail.com> wrote:
> Did you change the line I mentioned ?
>
> As stated, by default, the page which is calling the library will be the
> callback. That is what this line does.
>
> If you wanna change, just go and edit it. Don´t forget to clean your
> cookies.
>
> Robson Dantas
> @robsondantas
>
> 2011/3/2 omar farooque <omarfarooqu...@gmail.com>
>
> > i still trying to find out . i saw that script callbackUrl  'http://'.$_SERVER
> > ['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
>
> > but that redirect me like this
> >http://domain.com/auth.php?oauth_verifier=piGj3qYKVsjcKk80KBiff4Vz&oa...
>
> > On Fri, Feb 25, 2011 at 6:02 AM, Robson Dantas <biu.dan...@gmail.com>wrote:
>
> >> Callback url is set automatically to the same domain you are calling the
> >> lib. By the way, if you wanna do that, just open orkut-3legged.php,  line
> >> 123, see:
>
> >>http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/...
>
> >> <http://code.google.com/p/orkut-os-client-php/source/browse/trunk/lib/...>
> >> Best
>
> >> Robson Dantas
> >> @robsondantas
>
> >> 2011/2/24 omar farooque <omarfarooqu...@gmail.com>
Reply all
Reply to author
Forward
0 new messages