Uploaded image for project: 'Spring Social Facebook'
  1. Spring Social Facebook
  2. SOCIALFB-77

Post base class missing fields that facebook may send for any post type

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.1.RELEASE, 1.1.0.RELEASE
    • Fix Version/s: None
    • Component/s: API Binding
    • Labels:
      None

      Description

      The Post subclasses have fields that are actually available from facebook for generic Post types.
      For example, any post type may have a Page representing a Place:
      CheckinPost does have getPlace(), but other Post types are allowed to have a location.
      PhotoPost has a mapping for object_id to getPhotoId(), but other post types may have an object_id that corresponds to a photo object.

      eg:
      http://developers.facebook.com/tools/explorer/?method=GET&path=100003283444808_195829197203194
      is "type": "status",
      but has "place":

      {...}

      I believe it would be useful to collapse all the Post subclasses into Post itself.


      probably worth a shiny new bug: looks like the Post with_tags element is not picked up by any Post field.

      "with_tags": {
      "data": [

      { "name": "SeenuInq Upadhya", "id": "100002151518236" }

      ...
      ]
      Likewise, the "tags" element is not documented in the Facebook apis on Post. I suspect you are using the Photo tag logic, rather than a new Mixin thing for the element tag.

        Attachments

          Activity

            People

            Assignee:
            habuma Craig Walls
            Reporter:
            robblair Robert Blair
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated: