1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Google Drive SDK , issues with pageToken and filelisting with maxResults

Discussion in 'Google API' started by Jarno Lavikonmäki, Nov 6, 2013.

  1. #1
    hi all ,

    I have seen some pages saying to use pageToken, not page_token, but for me that seems to be working in a different way

    just wondering something google google drive / rest API implementation

    I am trying to get full folder listing but facing some problems with pageToken & nextLike values reuturned

    Hereis the url I received in earlier file listing, I did cut the tokens away to keep it shorter ,
    when I send request like this to network , I only get bad request error

    https://www.googleapis.com/drive/v2/files?maxResults=20&pageToken=valid_page_token&access_token=valid_access_token>

    but when I add underscore _ to change pageToken to page_Token, I get file listing response from google drive .

    https://www.googleapis.com/drive/v2/files?maxResults=20&page_Token=valid_page_token&access_token=valid_access_token>

    So I wonder , which way this should be now, or do I always need to manipulate the string to get following request to be working fine
     
    Jarno Lavikonmäki, Nov 6, 2013 IP