bglamb
Forum Replies Created
-
Cool. Ok, it still seems to be working now. I have removed the debug, changed all of those lines, and I can now use the Block as normal and load up the album I want!
For some reason half of my replies are being held for moderation, but did you see my update about this now working even when I remove that last change?
Ok, I’ll try that now. When I try and use a normal Photonic block, it times out on looking for albums (where previously it gave me a 401 or something), but hopefully these changes will fix that. I’ll update once I’ve got this all working – fingers crossed!
Hmm, no even more weird, when I change that last line back, it’s now still working, even though it’s not hitting those clauses.
To clarify, I have *undone that last change*, and now I see…
Google Refresh T[REDACTED]Transient: Array ( [oauth_token] => [REDACTED] [oauth_token_type] => Bearer [oauth_token_created] => 1651672314 [oauth_token_expires] => 3599 [client_id] => [REDACTED] )… followed by my albums!?
Oooh, that’s weird. Not only do I get a lot of output, it also is displaying my albums!
The ‘Error: $error’ is blank, so I assume this is basically working as long as that “false” gets changed to “empty”?
EDIT:
Hmm, no even more weird, when I change that last line back, it’s now still working, even though it’s not hitting those clauses.
To clarify, I have *undone that last change*, and now I see…
Google Refresh T[REDACTED]Transient: Array ( [oauth_token] => [REDACTED] [oauth_token_type] => Bearer [oauth_token_created] => 1651672314 [oauth_token_expires] => 3599 [client_id] => [REDACTED] )… followed by my albums!?
- This reply was modified 4 years, 1 month ago by bglamb.
Google Refresh Token:[REDACTED]Transient: Array ( )EDIT: I can confirm that the Token is correct, btw.
- This reply was modified 4 years, 1 month ago by bglamb.
Sure, thanks!
Just quickly: Where should I see the output of the prints? In the Dev debug console? In the logs somewhere?
EDIT: Nevermind, got it:
Google Refresh Token:[REDACTED]Transient: Array ( )- This reply was modified 4 years, 1 month ago by bglamb.