Subject: | Very nice application library,... |
Summary: | Package rating comment |
Messages: | 2 |
Author: | Greg Burns |
Date: | 2016-05-22 12:11:13 |
|
|
|
Greg Burns rated this package as follows:
Utility: | Good |
Consistency: | Good |
Documentation: | Sufficient |
Examples: | Sufficient |
|
Greg Burns - 2016-05-22 12:11:13
Very nice application library, though I've yet to figure out how to store tokens for continuing access to YQL content between PHP script runs.
Thanks for the effort put into making this very useable library available for others.
Manuel Lemos - 2016-05-22 20:30:50 - In reply to message 1 from Greg Burns
The class can renew expired tokens automatically next time you call the CallAPI function.
What you need to do is to use a specialized sub-class that stores tokens in a database, instead of the default storage which is session variables.
In this case that sub-class can retrieve tokens from the database and perform the calls even when the user is not present.
Take a look at this tutorial article. It was for Google but it works for Yahoo and others.
phpclasses.org/blog/package/7700/po ...
|