set_transient issue
-
Hi,
This is my first post, so go easy on me π
I’m querying the twitter API, and want to use the transient facility to store the data I receive so that I’m not calling the API continually on each page load.
The problem I appear to be having is that I have an array with objects and values coming from the twitter API, but the transient stores it as a string, so when I pull those values out using the get transient, I’m no longer able to manipulate this data as an array (which I need to be able to loop through the tweets).
Is there a way for me to store and retrieve the data so that I can use it too loop through a list of tweets? Is there a conversion I can do before the data is stored??
Thanks for looking.
The topic ‘set_transient issue’ is closed to new replies.