Android facebook SDK, upload pictures to wall with profile in different language?

后端 未结 3 1320
失恋的感觉
失恋的感觉 2020-12-11 13:01

Currently I\'m able to post mesages and pictures to my wall using my app, by looking for the album \"Wall Photos\" it works fine so far, i let a friend of mine to test my ap

3条回答
  •  佛祖请我去吃肉
    2020-12-11 13:45

    a) How can i look for the "Wall Photos" album if the user's profile is in a different language?

    Set the locale parameter to en_US while querying the Graph API for albums – then you’ll get "Wall Photos" and not the localized album name.

    b) How can i create a "Wall Photos" album in case that it doesn't exists?

    Uh, I don’t think creating it yourself would be a good idea, since normally it’s automatically created by Facebook – so that might clash when FB later creates an album for the user’s first actual wall posted photo.

提交回复
热议问题