Post

1 follower Follow
0
Avatar

intermittent Connection issues.

Hi Im currently using the api using php which is working beautifully so far. However i keep finding that my website will suddenly stop working because the php script created in this error:

Fatal error: Call to a member function field() on a non-object in /home/youthoas/public_html/podio/aboutusslogan.php on line 22

5 minutes later without anychanges to the website or webserver the error is gone and the website is looking as glamarous as ever. Any ideas why the intermittent connection?

Joshua Baker Answered

Please sign in to leave a comment.

8 comments

0
Avatar

Ok. I can see the reason for this limit. The issue i have is that we are undergoing alot of work on the website and are often refreshing pages to see changes. Any way i can get this limit lifted for a temporary amount of time?

 

Joshua Baker 0 votes
0
Avatar

Hi Joshua,

For a website you shouldn't be calling the API on every page request anyway. You'll hit the rate limit in no time when people visit the site. You need to cache the API results on your end so you can serve a cached version to website visitors and only refresh from the API at regular intervals.

For rate limit increases the instructions are in the link I include in my previous reply. :)

All the best,

Andreas

Andreas Haugstrup Pedersen 0 votes
0
Avatar

I don't understand. Just substitute the line that authenticates as an app witha  line that authenticates as a user?

Andreas Haugstrup Pedersen 0 votes
0
Avatar

Brilliant ok i will do that. Sorry im very new to the world of API... but am getting there slowly.

Joshua Baker 0 votes