Location: WPCAPI.showAddPageDialog

Discussion: I tried this add page embedded HTML in my JSP page and it does not doReported This is a featured thread

Showing 4 posts
bejawada
bejawada
I tried this add page embedded HTML in my JSP page and it does not do
Jun 3 2008, 10:23 AM EDT | Post edited: Jun 3 2008, 10:23 AM EDT
do anything. It just points to the link of #addPage and thats about it. It does not actually take me to the dialog of adding a new page as in the wetpaint website. What am I doing wrong here. Do you find this valuable?    
ryan_wetpaint
ryan_wetpaint
1. RE: I tried this add page embedded HTML in my JSP page and it does not
Jun 3 2008, 11:48 AM EDT | Post edited: Jun 3 2008, 11:48 AM EDT
First, make sure you've loaded the client application:

http://balco.wetpaint.com/page/Step+3%3A+Request+Client+Application

Also, do you notice any JavaScript errors caused when you click on the link?

To be clear, are you using the anchor tag from the Embedded HTML snippet on this page:

http://balco.wetpaint.com/page/WPCAPI.showAddPageDialog



Do you find this valuable?    
bejawada
bejawada
2. RE: I tried this add page embedded HTML in my JSP page and it does not
Jun 3 2008, 12:15 PM EDT | Post edited: Jun 3 2008, 12:15 PM EDT
I have loaded the client application, but I was asked yesterday to talk to the togo website instead of wapi website url. Which url am I supposed to use for loading the client application and also for making post/get calls?? Do you find this valuable?    
ryan_wetpaint
ryan_wetpaint
3. RE: I tried this add page embedded HTML in my JSP page and it does not
Jun 3 2008, 1:58 PM EDT | Post edited: Jun 3 2008, 1:58 PM EDT
You should use the same one for every call to our service. I've recently added this to the FAQ, which relates to your question:

Can I have a development environment where I use test data?
We are maintaining two working environments: our production environment (wapi.wetpaint.com) and our beta environment (togo.wetpaint.com). While you're building out your integration, use the beta environment as a testing sandbox and switch to the production environment when you go live. Be aware that the beta environment is not intended to host real data -- the hardware cannot support real traffic and the data may be deleted or modified at any time without notice.
Do you find this valuable?    

Related Content

  (what's this?Related ContentThanks to keyword tags, links to related pages and threads are added to the bottom of your pages. Up to 15 links are shown, determined by matching tags and by how recently the content was updated; keeping the most current at the top. Share your feedback on Wetpaint Central.)