View Full Version : Help on Plaxo widget integration
PratikGohil
July 28th, 2006, 12:27 AM
Problem: I face problems when testing widget on my local machine. The steps which I follows are as follows.
Select Yahoo from which contacts to import and press next button
Enter user name and password, press sign in button
Selects contact to imports and again then press next button
Now the real problem arises. On click of next button, shows a "Please Wait" image and nothing happed even after a long time.
Testing environment is:
Browser: IE
Url: http://localhost:1810/RND/plaxo.html
Absolute Path tried: /RND/plaxo.html and /plaxo.html
Please assist me where, I am wrong :confused:
Thanks & Regards,
Pratik.Gohil
kas
July 31st, 2006, 03:43 PM
Hi Pratik,
Unfortunately, I can't look at the URL you listed - I get a page cannot be displayed.
You are correct to be looking at the absolute path and other items that impact the callback. Like making sure that the file for your web page must be hosted on the same site as the page you are launching the widget from.
Specifically, the widget won't work if you try and load the .html page from your filesystem directly into your browser; it must be loaded via your web or application server.
Do you have a web server running on localhost?
Maybe the absolute path needs to include info on the port you are using?
Sorry I can't be more help without having access to your page.
Kathy
PratikGohil
July 31st, 2006, 10:25 PM
Hi Pratik,
Unfortunately, I can't look at the URL you listed - I get a page cannot be displayed.
You are correct to be looking at the absolute path and other items that impact the callback. Like making sure that the file for your web page must be hosted on the same site as the page you are launching the widget from.
Specifically, the widget won't work if you try and load the .html page from your filesystem directly into your browser; it must be loaded via your web or application server.
Do you have a web server running on localhost?
Maybe the absolute path needs to include info on the port you are using?
Sorry I can't be more help without having access to your page.
Kathy
Thanks for reply Kathy,:)
The url that I say is for localhost means, it's run via my local web server. The problem is, I am calling widget from my local web server and not a live web server. I don't know that might create some problem or not :confused:
Pls. help me....
Again thanks.
kas
August 9th, 2006, 07:19 PM
Here's what I got from engineering:
I think localhost should be fine, as long as he’s using the same exact server/port for the callback page (e.g. http://localhost:1810 in both cases). If his callback page is /RND/plaxo.html, he needs to pass the full absolute path. If he still can’t get it working, I’d need to see the error (if any). If he gets no error, it’s probably not actually loading his callback page (and thus nothing is happening). To verify, he could look at his server logs and see if that page is ever getting loaded when he gets to the last step of the widget flow.
WhizKid77
August 17th, 2006, 07:27 PM
Hi guys,
I'm getting the same thing (with Google, but that's irrelevant).
1. Select Google from which contacts to import and press next button
2. Enter user name and password, press sign in button
3. Selects contact to imports and again then press next button
4. Now the real problem arises. On click of next button, shows a "Please Wait" image and nothing happed even after a long time.
My dev environment is set up behind a firewall and running on a non-80 port, perhaps that's causing the problem?
Also, my "absolute path" includes GET values, such as:
mysite.com:20000/?getvar=value&getvar2=value2
i tried both "/?getvar=value&getvar2=value2" and urlencoded forms, as well as the full path with domain name.
Thanks for the help!
WhizKid77
August 17th, 2006, 07:35 PM
After selecting the contacts, the server does indeed get hit, but the "Please Wait" button is still flashing.
I checked both from client and server end, client via Firefox LiveHTTPHeaders, and server via tailing apache access_logs. Server responds with 200 OK.
There are no javascript errors, besides the usual css errors (eg Unknown property 'xmargin')
Thanks!
joseph
September 7th, 2006, 09:46 AM
Sounds like /RND/plaxo.html is the page where you're hosting the widget button and the textarea to fill right? You also need a SEPARATE callback page (in our examples at www.plaxo.com/api/widget_demo we call this page plaxo_cb.html) that you pass to the widget JavaScript and that gets called during the "Please wait..." at the end. You need to pass the absolute URL of that callback page, not /RND/plaxo.html and both pages need to both be at http://localhost:1810. Is that all the case? And do you see your plaxo_cb.html page being accessed successfully when you hit "Please wait"? And does that callback page load a JavaScript file from Plaxo? Can you see that abc_comm.js on Plaxo getting called when you do LiveHTTPHeaders? My guess is something above is broken for you, because when the widget goes to "Please Wait" at the end, it's just loading your plaxo_cb.html in an iframe and waiting for it to load the plaxo JavaScript. So if it just sits there, it's probably not loading that page successfully, or else that page doesn't include the Plaxo JavaScript properly.
Hope this helps!
Thanks, js
rebbap
September 11th, 2006, 07:48 AM
Problem: I face problems when testing widget on my local machine. The steps which I follows are as follows.
Select Yahoo from which contacts to import and press next button
Enter user name and password, press sign in button
Selects contact to imports and again then press next button
Now the real problem arises. On click of next button, shows a "Please Wait" image and nothing happed even after a long time.
Testing environment is:
Browser: IE
Url: http://localhost:1810/RND/plaxo.html
Absolute Path tried: /RND/plaxo.html and /plaxo.html
Please assist me where, I am wrong :confused:
Thanks & Regards,
Pratik.Gohil
Hi Pratik
I also got the same problem and I have solved that.
my Path was like this:
http://localhost/dotnetapp/madissues/addressTest/try.html -- contains button and textarea.
and callback page location is
http://localhost/dotnetapp/madissues/info/ifr/plaxo_cb.html
I tried wiht this path and it worked
<a onclick="showPlaxoABChooser('recipient_list', 'dotnetapp/madissues/info/ifr/plaxo_cb.html'); return false">
but if I give
http://localhost/dotnetapp/madissues/info/ifr/plaxo_cb.html
it is not working.
if we give like this,
in the addresses list page, the path is having two "http:" prefixes.
kas
September 13th, 2006, 06:21 PM
Hi Rebbap,
Thanks for helping to figure this out.
Pratik, did this help?
Kathy
omish
September 21st, 2006, 03:16 AM
Please help me on address book widget i use this on my application each time when page display alert option with unable to add reciepients please close and reopen address book
what i do now..
plz help me..:confused:
my id is omprakash@nurture3.com
kas
September 21st, 2006, 04:25 PM
Responded to this post on a separate thread...
keepswimming
March 29th, 2007, 12:55 AM
Thanks rebbap! You were a big help!
Basically omish, you need to make sure that you're not placing the absolute path in showPlaxoABChooser. You should not add in the "http://localhost". That should work. Just place both of your pages in one folder, it will still work.
kas
April 3rd, 2007, 02:46 PM
Hi all,
Maybe this will make it more clear...
For the full path for the callback that you use in step 4 of the widget instructions www.plaxo.com/api/widget:
Plaxo puts in the "http://" and the domain/host name that you used on the page that calls the widget
so don't put either of those in the pathname for the callback.
Make sense?
Since many developers have had the "Please wait" scenario, we'll add this info to the step 4 instructions on the web page with our next release. Or if any of you have suggestions on how we should make it more clear, just let me know.
Kathy
mohit04
April 8th, 2007, 08:44 AM
Hi all,
I have successfully integrated Plaxo widget on my website. I would like to know if there is anyway we can change how the widget populates the textarea of my form. For example when I import contacts from my address book the text area of my form is populated like this.
"abc"<abc@alpha.com>,"def"<def@hji.com>
But I would like it to be populated like this
abc@alpha.com,def@hji.com
Any help ?
joseph
April 9th, 2007, 10:46 AM
Sure, in fact I recently posted some code to do exactly this. See http://forum.plaxo.com/showthread.php?t=3302
Thanks, js
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.