Customizing posts with the new Facebook API update

In an attempt to fight misleading news on their platform, Facebook has recently changed the way you can use their API to edit previews of posts. While before you could specify the header, preview text, and the image, this is no longer possible. Instead, Facebook picks the relevant information from the website that the post links to.

This article presents a solution to continue to post customizable post previews for certain contexts.

Facebook takes action to fight fake news

To fight misleading posts with false preview texts and misleading images,  Facebook has started to disable the ability for Pages to edit the previews of the links they post – both for the Page composer and the API.

Says Facebook (July 18, 2017):

By removing the ability to alter link metadata (i.e. headline, description, image) from all link sharing entry points on Facebook, we are eliminating a channel that has been abused to post false news. (…) Specifically all API versions will no longer support this capability, and Page admins will no longer be able to make these edits in Page composer. (source)

Now I’ve been doing exactly that with Jazzity: Everyday a cron job would run a script that took a few snippets from a data base and post them to Facebook using the API:

postPicture($post_message, $post_link, $post_picture, $post_name, $post_caption, $post_description);

The function postPicture (we’ll go into more details later) would take six parameters, which will make up the post as follows:

read more

How to get 2,000 likes in 12h

Deezer UK today pulled quite a trick today: They got about 2,000 (from 499,508 to 501,503) likes in less than 12h.

So here’s what happened: this morning Dezzer tweeted to their 3,200 followers (@DeezerWorld (2,574 followers), @deezeruk (549 followers), @DeezerIRL (95 followers), but not by @deezer with 271,709 followers)

#Deezer is currently at 499,508 likes on Facebook. Go on, help us reach a half a million milestone. on.fb.me/orBrlU ()

read more

Facebook launches ‘Listen with Friends’ Feature

Facebook announced on their blog a new real-time group music listening feature called “Listen with Friends”:

Look for the music note in the chat sidebar to see which of your friends are listening to music. To listen with a friend, hover over their name, and click the Listen With button. The music will play through the service your friend is using. (source)

Judging from the screenshots among the first services to make us of this are Spotify and Rdio.

read more