Marc
  • Male
  • United States
  • Intermediate Coder
Share on Facebook Share

Marc's Discussions

RSS feed options

Is there somewhere where the RSS Feed URL parameter options are discussed on NING?This is a typical NING feed…Continue

Started Aug 23, 2011

API my.birthdate Error
12 Replies

I am suddenly getting a new error back from the API.Fatal error:  Uncaught my.birthdate attribute of result is not a valid ISO-8601 date: null (500) thrown in…Continue

Started this discussion. Last reply by Devin Feb 25, 2011.

Problem retrieving User profileQuestions via API
1 Reply

I am using the API w/php to retrieve member data. Have no problem retrieving fullName & gender, but when I add profileQuestions to the query, it appears to timeout. Any idea why? Example:$count =…Continue

Tags: limit, User, profileQuestions

Started this discussion. Last reply by Devin Oct 26, 2010.

 

Marc's Page

Latest Activity

Marc posted a discussion

RSS feed options

Is there somewhere where the RSS Feed URL parameter options are discussed on NING?This is a typical NING feed URL:mysite.ning.com/leaderboards/topcontent/week?feed=yes&xn_auth=no&n=5&images=yes&imageMaxSize=60 I'd like to know what all of the options are for constructing such a URL. For example, imageMaxSize appears to restrict the width or height maximum. Would there be a param to crop a square image? Any documentation? I've looked around a bit.  See More
Aug 23, 2011
Devin replied to Marc's discussion API my.birthdate Error
"If you can only run a script every 15 minutes, your host may not be ideal for long running scripts.   Correct, that is how you would access the lastPage property.  "
Feb 25, 2011
Marc replied to Marc's discussion API my.birthdate Error
"Our host only allows a CRON script to run every fifteen minutes. Would this be how lastPage is returned? $result = $ningApi->get($path);$lastPage = $result[lastPage];"
Feb 22, 2011
Devin replied to Marc's discussion API my.birthdate Error
"There is nothing planned yet but I keep asking."
Feb 22, 2011
Marc replied to Marc's discussion API my.birthdate Error
"If you don't mind clarifying your suggestions a little more, I will pass along to the client.   1. Local Script Running the script locally & using a remote DB connection to send the data to the host db. Is that what you mean?   2.…"
Feb 22, 2011
Devin replied to Marc's discussion API my.birthdate Error
"Hi Marc,   If you're web host is limiting your scripts I recommend running the script on your local machine from the command line.   Another option is to remove the loop and only make one request per run of your script and output the…"
Feb 22, 2011
Marc replied to Marc's discussion API my.birthdate Error
"I heard back from the host:Your script was getting killed by our firewall software, which has been configured to kill off scripts launched from user shells, cron jobs etc that exceed a certain memory threshold. Your scripts were consuming about 150+…"
Feb 19, 2011
Marc replied to Marc's discussion API my.birthdate Error
"Devin -- I don't think there is actually an error. What appears to be happening is that the full loop just appears to die before it's finished. Interestingly, on one test it made it thru Anthony Maeding and on another it made it thru Bob…"
Feb 18, 2011
Devin replied to Marc's discussion API my.birthdate Error
"Marc,   Can you send me the error that you are receiving? Please include trace so I can look it up in our logs.  "
Feb 18, 2011
Marc replied to Marc's discussion API my.birthdate Error
"I'm no longer seeing the birthdate error but I'm now having some other issue. We have several hundred members but the loop I'm using seems to die after pulling back only 30. See the code I'm using above, which has worked fine in…"
Feb 18, 2011
Devin replied to Marc's discussion API my.birthdate Error
"Hi Marc,   This fix has been deployed. Let me know if you still see this issue."
Feb 17, 2011
Marc replied to Marc's discussion API my.birthdate Error
"Devin -- any progress on this?  Would like to restore the API soon.   Marc"
Feb 16, 2011
Devin replied to Marc's discussion API my.birthdate Error
"Hi Marc,   The engineering team is investigating this issue, I'll update this thread when a fix is deployed.  "
Feb 8, 2011
Marc posted a discussion

API my.birthdate Error

I am suddenly getting a new error back from the API.Fatal error:  Uncaught my.birthdate attribute of result is not a valid ISO-8601 date: null (500) thrown in /home/foo/public_html/blognet/ningapi/NingApi.php  on line 208I have been running this identical script via a Cron job for quite a while, but did recently change hosts. The error does not seem host related, though. I have not customized NingApi.php at all.It appears that as I pull back member data, it is hitting a record that has a…See More
Feb 4, 2011
Devin replied to Marc's discussion Problem retrieving User profileQuestions via API
"A few questions: How many profile questions do you have? What happens when you request one profile? 50?   It is possible to page through results. The anchor variable returned in a list result. If you include it as a parameter on your next…"
Oct 26, 2010
Marc posted a discussion

Problem retrieving User profileQuestions via API

I am using the API w/php to retrieve member data. Have no problem retrieving fullName & gender, but when I add profileQuestions to the query, it appears to timeout. Any idea why? Example:$count = 100;$fields = "fullName,gender,profileQuestions";$path = sprintf("User/alpha?count=%s&fields=%s&isMember=true", $count, $fields);$result = $ningApi->get($path); One other question. I am writing a script that needs to pull profileQuestion field data for ALL my members, not just 100 of…See More
Oct 22, 2010

Profile Information

Programming Skill Level
Intermediate Coder

Comment Wall

  • No comments yet!

You need to be a member of Build to add comments!

Join Build

 
 
 

Blog Posts

Getting Started

Posted by Kyle Ford on October 13, 2010 at 8:00am 3 Comments

A Note on API Pricing

Posted by Phil McCluskey on October 1, 2010 at 8:55am 0 Comments

Welcome to Build!

Posted by Kyle Ford on September 30, 2010 at 8:30pm 1 Comment

Ning Status

© 2019   Created by Build Team.   Powered by

Badges  |  Report an Issue  |  Terms of Service