Disable grouping of photos on the timeline

后端 未结 5 2094
执念已碎
执念已碎 2020-12-31 14:52

Does anyone know when facebook groups photos in the same album on the timeline? Is it possible to prevent it from doing so? If you post one or 2 pictures a day (via API) wit

5条回答
  •  长情又很酷
    2020-12-31 15:15

    This question is very interesting to developers who deal with images through the API. I see here two ways to ungroup photo posts.

    1. Time

    You could solve your problem by waiting the exact amount of time before uploading your photo, even if that would a mean way to proceed. For both page or user, photos will be grouped by albums:

    • on the timeline, after exactly 10 hours (need more than 2 photos),
    • on the news feed, after exactly 1 hour.

    It actually uses the modified's Album parameter to know whether or not the new photo(s) will be grouped with the last group. That date is visible on the album's page:

    Untitled Album Updated 34 minutes ago

    Note : this is Facebook's behavior and algorithm, and there is no way to overcome it through the API. Also, we can't modify the value of the modified parameter.

    2. User Generated photos

    Something exists to solve your problem. It is called User Generated photos and it works with Open Graph.

    You can allow your users to upload a single photo or multiple user generated photos for a single action.

    In that case, your photos will be displayed in big sizes on both news feed and timeline and won't be grouped anymore. And you will still be able to add a description with a link. Moreover, it will promote your app because it indicates your app's name.

    Readings:

    • Concept: User Generated Photos
    • How-to Upload A Single User Generated Photos
    • How-to Upload Multiple User-Generated Photos (might be useful too)

    By the way, this is what Instagram uses to share photos on Facebook. A good example to follow...

提交回复
热议问题