WhatPulse Forums » Support » Website v » Some problems with Web API Welcome back, Guest.


Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some problems with Web API
12-30-2012, 11:14 AM
Post: #1
Exclamation Some problems with Web API
There are problems in users.php, where user names with special characters or users named only with numbers always get an error, that user is Unknown.

For example:
http://api.whatpulse.org/user.php?user=47
http://api.whatpulse.org/user.php?user=[#WP]DjRedmar

PHP Code:
<WhatPulse>
<
error>Unknown UserID given!</error>
</
WhatPulse
Find all posts by this user
Quote this message in a reply
12-30-2012, 12:18 PM
Post: #2
RE: Some problems with Web API
First one is fixed, but the second one can't really be fixed. The script only sees the '[' part because of the anchor (#). You'll need to supply either the userid or switch to a post method.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Password problems on site JaRi1337 1 1,043 02-02-2015 05:53 PM
Last Post: smitmartijn
  Problems with Login MrPedantic 1 3,124 09-20-2010 10:07 AM
Last Post: Mr. Pedantic
  Still having problems... BookMasterJMV 34 24,461 05-30-2009 12:53 PM
Last Post: smellybeans

Forum Jump:


User(s) browsing this thread: 1 Guest(s)