gauravjhaindia / restfb

Automatically exported from code.google.com/p/restfb
0 stars 0 forks source link

Add getTags method to CheckIn class #173

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In the Graph API, "me/checkins" returns tagged user ids. I really need to 
access them

What is the expected output? What do you see instead?

"tags": {
        "data": [
          {
            "name": "John Smith", 
            "id": "731331910"
          }, 
          {
            "name": "Paul Waldron", 
            "id": "100001893681002"
          }
        ]
      }, 

Original issue reported on code.google.com by alla...@gmail.com on 7 Feb 2012 at 5:30

GoogleCodeExporter commented 9 years ago
Thanks for letting me know.  The workaround until 1.6.10 is to subclass 
Checkin, something like this:

public class FixedCheckin extends Checkin {
  @Facebook
  private List<NamedFacebookType> tags;

  // Add getters/setters here
}

Original comment by m...@xmog.com on 12 Mar 2012 at 6:53

GoogleCodeExporter commented 9 years ago
Fixed in 
https://github.com/revetkn/restfb/commit/1b897d569dd342e6cd2e032c86ad6e1d3225ffb
b

Original comment by m...@xmog.com on 1 Sep 2012 at 3:50