Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

It is now possible to filter the comments in the Google Play Store using the devices you own as filter. Is it possible in some way to filter comments by devices that I don't own?

I am trying to check how some apps behave on my device because it is not so popular, and I would like to try instead check comments with other devices with similar hardware specs.

share|improve this question
    
I don't think that's possible. Filtering comments from devices that you own is the only option –  Power-Inside Oct 5 '12 at 16:16
add comment

2 Answers

When you specify one of your devices (to narrow down the comments), the web page sends an AJAX query to google. It passes a GET variable, specifying the device; it also passes some POST variables, one of which is a token (so you can't simply browse to the page).

You could write something that requests a different device to get the comments. The only problem is that google has their own definitions for device models. You would have to find out the model id used by google for the device(s) you wish to browse.

Here is a starting point for your code. I grabbed my token value by using Tamper Data.

app_id = "com.rovio.angrybirds";
token_id = "FIND_YOUR_OWN_TOKEN";
device_id = encodeURI("LGE LG-VM670"); //this is sent as a GET, so encode
page_number = 0;

$.ajax({
  type: "POST",
  url: "https://play.google.com/store/getreviews?id="+app_id+"&reviewSortOrder=2&reviewType=1&fn="+device_id+"&pageNum="+page_number,
  data: { xhr: "1", token: token_id},
  dataType: "json",
  success: function(json) {
    parse_reviews(json);
  },
  error: function(json) {
    // it seems like the standard behavior from this url call is a response 'code' of ")]}'", instead of a 200 or other standard code
    parse_reviews(json);
  }
})

function parse_reviews(json_object){
  //this should extract the comments to a readable format
}

Here's a starting point for your list of devices. My two devices are the

  • Optimus V: "LGE LG-VM670"
  • Nook Simple Touch: "BarnesAndNoble NOOK"

Readers: Feel free to add your device in the comments.

share|improve this answer
    
By the way, this particular script requires jQuery. –  Stephen Schrauger Oct 10 '12 at 18:55
    
You seem to have glossed over how to create the token - I have had this problem for a while and the token is the only problematic thing for me, yet you seem to imply it's obvious. It's not! Can you please explain what the token is and how I can programmatically generate it from a script? –  user700774 Apr 23 at 1:48
add comment

No, this is not possible.

Unfortunately, Google have not implemented this feature into Google Play as of yet.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.