when making the local request:

 oauth_request = oauth.OAuthRequest
(http_method=requestHandler.request.method,
 
http_url=requestHandler.request.url,
 
parameters=requestHandler.request.params.mixed())

requestHandler.request.url is the correct url, but without the port
(if that matters)

is there somewhere in the actual oauth code that i need to mod?


On Mar 9, 1:07 pm, Arne Roomann-Kurrik <[email protected]> wrote:
> Hi David,
>
>    How are you generating the signature base string to validate the
> request?  When orkut signs the request, it will use http://<your
> public address>/etc - if you are running the app locally, make sure
> you aren't generatinghttp://localhost/etc(which an unmodified OAuth
> client is likely to do, I'd think).
>
> ~Arne
>
> On Mar 8, 10:58 am, David Wilson <[email protected]>
> wrote:
>
> > now back to my original question,
>
> > has anyone successfully signed an orkut makerequest call to a local
> > appengine dev server?
>
> > On Mar 8, 10:56 am, David Wilson <[email protected]>
> > wrote:
>
> > > hi, sanjay,
>
> > > you can set the dev server to accept connections externally by giving
> > > the command line argument of --address=0.0.0.0
>
> > > Now you can connct to the dev sever via [your-ip]:8080/
>
> > > If you are on a dynamic ip connection use somthing 
> > > likehttp://www.dyndns.com/
> > > to give you an address that will forward to your ip and track when it
> > > changes.
>
> > > If you are behind a complicated network, your will need to make sure
> > > that the port 8080 traffic is forwarded all the way to your machine
> > > from your external ip, or better set up a public box that you can
> > > reverse ssh tunnel to from your local machine where ever you are.
>
> > > this way you put the public box address into the orkut dev path, then
> > > all the traffic gets forwarded to your local dev server via the ssh
> > > tunnel when you connect to your public box.
>
> > > If you search the net for localhost facebook app development, there
> > > are a few articles on how to do this.
>
> > > On Mar 5, 11:15 pm, Sanjay Patel <[email protected]> wrote:
>
> > > > > How do you connect to your dev server when working locally from orkut?
>
> > > > I tried connecting to my localhost server, but it did not work. Hence, I
> > > > think I have upload my application in our external server for this to 
> > > > work.
> > > > Let me know if there is a way to work with localhost.
>
> > > > thanks,
> > > > Sanjay
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to