Search:

Type: Posts; User: Rob Blair; Keyword(s):

Page 1 of 2 1 2

Search: Search took 0.03 seconds.

  1. Hey Yoni, I did get some timeout stuff working,...

    Hey Yoni,
    I did get some timeout stuff working, but never figured out what the root cause was. Mucked with all sorts of things to figure it out.

    My code for setting the timeouts:

    ...
  2. So a year, 5 months later, the model does not...

    So a year, 5 months later, the model does not have new fields.
    Is this SOP for the Spring Social Facebook API -
    coders should roll their own additions if there are other fields they want?
    I also...
  3. So I've not been able to reproduce my problems...

    So I've not been able to reproduce my problems locally, but did get it to repro on the remote server, even after substituting the SimpleClientHttpRequestFactory in to the FacebookTemplate.

    The...
  4. I've extensively profiled the call times, and can...

    I've extensively profiled the call times, and can vouch that it's not taxing the network. The data access rate is far below Facebook limits. When performing normally, calls never are more than 5...
  5. Yes, I could call setRequstFactory(). I figured...

    Yes, I could call setRequstFactory(). I figured that there was some reason the guts picked HttpComponentsClientHttpRequestFactory over SimpleClientHttpRequestFactory if HttpClient was present. ...
  6. The hard part is that because so many fields are...

    The hard part is that because so many fields are final, or don't have accessors, I can't even kludge it. I just want the hooks to do it in code, worst case scenario.

    I'm not even sure if it's a...
  7. How do I configure the socket read timeout in spring social

    I'm using Spring social 1.0.1.RELEASE and framework 3.1.0.RELEASE to make various Facebook calls, and a 1.1.0 facebook variant.

    I'm having a very hard time figuring out how to set the read timeout...
  8. Facebook Photo class unable to deserialize a from database.

    Situation:
    Got a spring-facebook Photo object (1.1.0 snapshot), then serialized to database.
    (mongo, which uses a JSON like structure)
    On de-serialize, it blows up because the constructor...
  9. just did a git pull, saw updates to a bunch of...

    just did a git pull, saw updates to a bunch of docs stuff, but no code changes.

    and comparing to what I have checked in (using SVN for our local source control, merging vendor to our branch)
  10. Post.getLikeCount() throws NPE on post with no likes

    the graph explorer shows this post that returns json that causes a NPE in Post.getLikeCount().

    {
    "id": "100003283444808_189987347787379",
    "from": {
    "name": "RobInq BlairInq",
    "id":...
  11. Replies
    14
    Views
    1,387

    habuma, don't go rushing to add this stuff quite...

    habuma, don't go rushing to add this stuff quite yet -
    I've found another facet in the facebook world.
    Some of the FQL values in json can come as a sparse array OR regular array
    eg, ...
  12. Replies
    14
    Views
    1,387

    FqlResult and list of primitive values

    Here is a possible modification to FqlResult, in the vein of FqlResultMapper:
    If you need to map an array of primitives, like Integer, String, or Array, the existing FqlResultMapper will not...
  13. Replies
    14
    Views
    1,387

    https://jira.springsource.org/browse/SOCIALFB-75 ...

    https://jira.springsource.org/browse/SOCIALFB-75
    Mostly about the getList() issue, but touches on the whole set of getXYZ issues.
  14. Replies
    14
    Views
    1,387

    I will do that. I do like to take my time, make...

    I will do that. I do like to take my time, make sure I understand the code and intent before adding a bug. Nobody wants JIRA full of hundreds of wish-list items.
  15. Replies
    14
    Views
    1,387

    FqlResult.getList does not work for array of primitives

    query, modified for simplicity:

    SELECT post_id, viewer_id, tagged_ids FROM stream WHERE source_id=100002487294420 AND updated_time>1333363915

    returns


    { "data": [ {
    "post_id":...
  16. Replies
    14
    Views
    1,387

    facebook's FQL documentation lies!

    Another thing worth mentioning for anybody else making adapters for FQL - their documentation does not accurately represent the json they return.
    They say things like...
  17. Replies
    14
    Views
    1,387

    FqlResult.getTime

    Comment about FqlResult: Most of the calls to getX return null if it's not present in the object map;
    However, getTime will throw an exception.



    public Date getTime(String fieldName) {
    try...
  18. Replies
    14
    Views
    1,387

    FQL - stream table complications.

    http://developers.facebook.com/docs/reference/fql/stream/ has the data for the stream table, which is the wall / home type feed.


    and a few others. The documentation is somewhat thin, so your...
  19. Replies
    14
    Views
    1,387

    OK, I'll certainly give it a peek. As for the...

    OK, I'll certainly give it a peek.
    As for the mapObject logic, I'm tempted to add in more of the full jackson mapping logic. Many of the tables have complex sub-elements, which will start being...
  20. Replies
    14
    Views
    1,387

    FQL and SpringSocialFacebook

    I saw the task https://jira.springsource.org/browse/SOCIALFB-8 targeted at 1.1.0 release, and wondered how it was going.

    I'm about to start diving in to some serious FQL work, and wanted to be...
  21. Replies
    4
    Views
    650

    Deserialize to Post subclasses needed too.

    Thanks habuma!

    One other thing I needed to add - a public deserializer to turn the JSON Status posts into Post sub-classes, in FeedOperations:


    /**
    * Turns a generic list of jsonNodes that...
  22. Replies
    4
    Views
    650

    I'm new to the Git world, and not sure if my...

    I'm new to the Git world, and not sure if my corporate masters are OK with me giving code away. They can be a bit fussy.

    And yes, I do completely understand not wanting to double the number of...
  23. Replies
    3
    Views
    672

    Habuma, I never got any response to the request I...

    Habuma, I never got any response to the request I made to support bulk fetches by id on the same connection.
    See...
  24. Emmet, my advice here (as in most places) is to...

    Emmet,
    my advice here (as in most places) is to go directly to the docs and see what they say.
    Then go to the graph api explorer and see what you can get.
    That lets you explore the app in real...
  25. Replies
    6
    Views
    1,052

    If the FB user does not log off, then plain...

    If the FB user does not log off, then plain (without offline_access) tokens keep working for a while, perhaps 2 hours.
Results 1 to 25 of 29
Page 1 of 2 1 2