I am trying ti integrate orkut share in my php application. I am using
the class "google.orkut.share.Connection" from the api which will
allow me to promote my app on orkut using javascript here are the docs
[http://code.google.com/apis/orkut/docs/orkutshareapidoc.html][1]

The documentation mentions a method for the class which is send(dest,
overrides, opt_callback)
where opt_callback is a callback function which is described as

> Function(bool) opt_callback — optional
> callback that will be invoked after
> the sharing is completed. It is passed
> a boolean indicating success or
> failure.

so i am assuming that it will be called after sharing is completed and
depending upon the value of boolean i can execute the appropriate
code. (please correct if this is wrong). But actually the function
executes when the popout opens. and when i try to pass a variable bool
to the function it gives me a javascript error, 'bool not defined'

What is the right way of doing this ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-or...@googlegroups.com.
To unsubscribe from this group, send email to 
opensocial-orkut+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en.

Reply via email to