AutoTools Accessing Desktop version of Alexa Activity

Discussion in 'AutoApps' started by Wathoma, Nov 16, 2018.

  1. Wathoma

    Wathoma New Member

    Joined:
    Nov 15, 2018
    Messages:
    7
    Likes Received:
    0
    Hi,

    I was trying to use Auto HTML to get the data on alexa.amazon.com.
    It is able to Authenticate but still tries to load the Mobile Version even though Desktop mode is turned on.

    How do I go about getting the page for Alexa Activity/History page?
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi. How do you know for sure that it's still getting the mobile version?
     
  3. Wathoma

    Wathoma New Member

    Joined:
    Nov 15, 2018
    Messages:
    7
    Likes Received:
    0
    The HTML is requesting to download the app or just shows the result "Amazon" depending on which URL used.
    I checked the logcat information for the Alexa App to see what was being sent to it.

    I found it Uses a form of Webview and there was request sent to other urls.
    One of those url discovered goes directly to the activity page. That is the url that just shows "Amazon". When loaded on a browser on Default Mobile in Chrome. It just has a loading animation loop.

    When switches to Desktop Mode the animation runs once and loads only the Activity Page on Chrome Browser set to Desktop Mode.

    If original url is accessed alexa.amazon.com after Authenticating in plugin. The app is requested to be installed in Autotools results.

    Chrome Browser:
    So the animation lead me to believe it's the site loading the user agent/header. Detecting mobile or desktop.
    The direct url has no redirect, thus it just stays on the loading animation because it on mobile (the direct url goes to the source of the iframe).
    The direct Url when set to Desktop goes directly to the page because it not redirecting or can load.
    Autotools HTML is not requesting Desktop View on the direct url or after Authentication login.
     
    Last edited: Nov 17, 2018
  4. Wathoma

    Wathoma New Member

    Joined:
    Nov 15, 2018
    Messages:
    7
    Likes Received:
    0
    Basically, I get results back for the mobile version. Which tells you to install the app.
     
  5. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Do you maybe have to also enable javascript?
     
  6. Wathoma

    Wathoma New Member

    Joined:
    Nov 15, 2018
    Messages:
    7
    Likes Received:
    0
    I have enabled and not enabled java script.
    Same results: The page to install the APP from it detecting mobile.
    I was able to find the exact page of the iframe souce.

    https://alexa.amazon.com/spa/index.vox.html#cards

    If anyone can get the desktop results that still would be awesome. Been working on this for about 7 months.
    I also been trying to write overlays for user agent strings but have not found the right source/or one that works for the target app.
     
  7. Wathoma

    Wathoma New Member

    Joined:
    Nov 15, 2018
    Messages:
    7
    Likes Received:
    0
    Desktop Version selected in "Advance" and Authenticating.
    Still loading the page for mobile. Requesting the Alexa app be installed to view.
     
  8. Wathoma

    Wathoma New Member

    Joined:
    Nov 15, 2018
    Messages:
    7
    Likes Received:
    0
    Still looking for a way to get Autotools to view Desktop version of a page.
    Notice it may be an issue with it requesting desktop version but not sending a desktop User Agent.
     

Share This Page