Announcement Announcement Module
Collapse
No announcement yet.
username null when getting facebook profile Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • username null when getting facebook profile

    Hello spring social users

    I just re-registered our facebook app on developers.facebook.com, got the app id and secret. So far so good.
    Now when I get the user profile with the new appId and appSecret, the username field is null, where as other fields like lastName etc. are set (UserProfile userProfile = connection.fetchUserProfile(). What makes me also suspicious is the user profile link that is sent back: https://www.facebook.com/app_scoped_user_id/1234567/
    What does app_scoped_user_id mean?

    I'm sure that the username field has been filled out previously and I can't find out why the username now is not sent by facebook anymore. Any ideas?


    Best regards,
    James

  • #2
    Hm. This probably has something to do that the app I'm using now is a test-app. I'll check with the non-test app as soon as possible.

    James

    Comment


    • #3
      The username also is null for the non-test app. Hm. Any ideas how to get the username?


      Best regards,
      James

      Comment


      • #4
        The problem is that Facebook's graph API 2.0 does not send the username field anymore: http://stackoverflow.com/a/23986618/285288

        Comment

        Working...
        X