Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAGINATION - Next page token is always null ? #2571

Closed
minhvb opened this issue Mar 1, 2024 · 2 comments
Closed

PAGINATION - Next page token is always null ? #2571

minhvb opened this issue Mar 1, 2024 · 2 comments

Comments

@minhvb
Copy link

minhvb commented Mar 1, 2024

Hi team,

I'm using your library to fetch reviews from Play Store and reply to them, however, the getTokenPagination() function always return null. I'm not sure which part I was wrong.

Below is my code

$listReviews = $this->getGoogleService()->reviews->listReviews( $this->googleConfig->name, $opt, ); dd($listReviews->getTokenPagination());

And this is the way I get the service:

    try {
        $client = new Google_Client();
        $client->setAuthConfig(json_decode($this->googleConfig->json, true));
    } catch (Throwable $e) {
        LoggerUtils::logError($this->logger, $e, 'Failed to create Google client');

        throw $e;
    }

    $client->addScope(Google_Service_AndroidPublisher::ANDROIDPUBLISHER);
    $this->service = new Google_Service_AndroidPublisher($client);

    return $this->service;
@Hectorhammett
Copy link
Contributor

Hello @minhvb! Thanks for reaching out.

Are you still having the same issue?

@Hectorhammett
Copy link
Contributor

Closed due inactivity. Please let me know if you have any further questions. Feel free to leave a comment if the issue persists!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants