status

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:

(more…)

31
Jul 2017
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
status

Introducing Jazzity – Your pocket guide to jazz in Berlin

A while ago I moved to Berlin. Being a huge fan of live jazz music I was really excited to move to the jazz capital of Europe, as Berlin is frequently called.

Berlin has a lot of amazing jazz clubs, from well-known and established jazz clubs such as the A-Trane, the b-flat or the Quasimodo, to smaller and less well known clubs such as the Donau 115, the Hangar 49 or the Hat Bar.

I quickly came to realize, however, that there was no good overview of all jazz clubs in Berlin. There was no convenient way to know which club was playing what and when, or when there were jam sessions at which club. I decided to change that.

Enter Jazzity.

Jazzity is what I call “Your pocket guide to jazz in Berlin“. Jazzity not only gives you an overview of the jazz clubs in Berlin, it also aggregates the programmes from all the jazz clubs’ websites and makes them accessible in an easy and convenient way.

Jazzity does the leg work for you: It looks at all the different websites of all the jazz clubs and brings their programme to one place: jazzity.net. Jazzity offers three main benefits:

1) A comprehensive jazz programme guide for Berlin

In the PROGRAMME section on jazzity.net you find a guide with all the concerts and jazz events that are on a given day. You can filter by location and by type of jazz. Jazzity also filters through the description of the jazz events and tags the events by genres, such as blues, funk, soul, vocal jazz, etc. Just click on any of the tags and see all events with that tag.

2) An overview of all jazz clubs in Berlin

This is what the original idea for Jazzity was: An overview of all jazz clubs in Berlin, including address, contact details, location, a short description, and links to reviews.

3) A map of jazz in Berlin

Not sure which club is closest? Just fire up the jazzity map and see which clubs are closest.

Interested? Head over to jazzity.net and sign up for the newsletter or give us a like on Facebook.

 

17
Jul 2017
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
status

How selection bias will skew your activity mailing results

Here’s an interesting thing that I came across when evaluating a mailing for a client that I need to share.

Fallacy01

The observation

So what we’re looking at here is the revenue for a given group of customers from 06/2014 to 12/2014. (Note that the data presented here is completely fictional recreated in a spreadsheet, but follows patterns similar to the original data. See below for more details.)

This group of customers had been selected due to its inactivity as defined by the revenue in 06/2014 being smaller then a certain threshold (again, the actual selection was a lot more refined that is described in this model).

The mailing was sent out on 01/07/2014 to the group of customers. So we’re looking at a total revenue of $46,837 in 06/2014 and a subsequent jump in revenue to $271,950 in 07/2014.

At first sight, that seems to be great news – the mailing worked, revenue increased drastically, everything fine.

However, when I looked at preceding months, the following pattern emerged:

Fallacy02b

So our group of customers had a high revenue 01/2014 – 05/2014.  Then in 06/2014 – the month that was used to determine whether or not a customer was active – the revenue suddenly drops by about 80%, only to be back at the original level the following months.

Now this seems rather odd. In fact, it looks a lot like there’s something wrong with the analysis.

But as it turns out, it’s actually perfectly correct. What we’re observing is due to what I call the selection bias.

(more…)

11
Nov 2015
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
status

How to tell if your results are significant – a practical guide

Marketers frequently face a situation like this: In a survey it is found that 57% of women prefer product A, while 60% of men prefer product B.

In this article I will show how marketers – using only simple statistical analysis tools available in Microsoft Excel – can quickly and easily decide whether or not they can draw meaningful conclusions from such a result, or whether they may be making fatal mistakes by interpreting random noise as valid data.

stats mofo

Marketers frequently face a situation like this: In a survey it is found that 57% of women prefer product A, while 60% of men prefer product B.

Some marketers will just go “Great, statistics prove that women prefer product A, and men prefer product B. We’ll market product A to women then and product B to men.”.

But is this really always a valid conclusion? Couldn’t it also be that the difference is purely coincidental? After all, we haven’t asked all people, but only a subset of people: those participating in our survey. So maybe if we took another sample, and asked different people, the results would be different? May well be!

Statistics to the rescue!

As is often the case, statistics can provide a solution. Before delving into the details, let’s look at another, more formalized example. Dice!

Suppose we take two dice, and we want to know if one of them is loaded, i.e., we want to know if one of the dice yields better values than the other. Let’s start by throwing them 10 times each. This is what the results may look like:

Example 10 dice

Well. What do we get? Let’s look at the mean value for each die. As a reminder, if the two dice were fair dice, there would be an equal likelihood of one in six for each number to turn up. More formally, the expected value would be 3.5 (=1/6*1+1/6*2+…+1/6*6).

So what do we get for our dice? For die 1, the mean is (4+4+4+…+3)/10 = 4.40, the mean for die 2 is (5+2+1+…+1)/10 = 3.20.

So is die 1 better than die 2? Well the average is higher, of course, but as you will intuitively suspect, 10 throws is quite a small number of throws to draw any meaningful conclusions.

(more…)

25
Nov 2014
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
status

Why the new Spotify UI makes no sense. A rant.

Spotify

A while back I’ve been whining about the lack of a decent music collection management Spotify. In the past months, Spotify has worked quite a bit on their UI and have changed their interface a lot. Sometimes for the better, sometimes for the worse. Bottom line however: the music collection management is still freaking useless.

Disclaimer: the following contains a lot of SHOUTING and CURSING. Sorry about that. But I’m really really passionate about my music player, and just hate to see that Spotify, which I otherwise LOVE, can’t seem to get their sh*t together.

So here we go: First, there’s the SONGS tab:

(more…)

27
Sep 2014
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
video
13
Mar 2014
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
status

Last.fm partners up with Spotify to offer on demand plays

Spotify Last.fmGreat news! Last.fm partners up with Spotify to again offer on-demand plays:

We’ve teamed up with Spotify to bring their entire catalogue, on demand, to the world’s leading music recommendation service.

About two years ago, Last.fm had dropped their on-demand plays, to “focus on the features that make Last.fm unique — scrobbling, personalised radio, and being the online home for your music taste”, or, put differently, CBS wanted to cut the costs so they decided to save the royalties.

Well I’m glad they’ve finally come up with this solution! The integration works pretty well, too: if you hit the play button on last.fm, Spotify is opened in the background to play the track. Smooth. What’s great, too, ist that on a “Top Tracks” list, such as the one below, the entire list is put in a Spotify-playlist.

PlayOnLastFM

08
Feb 2014
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
status

Spotiamp – it really whips the llama’s ass.

Found this little gem today:

Spotiamp

Spotiamp is a little program that lets you login to your Spotify account and play your playlists and more.

Apart from being nostalgic, it actually is a great player! The minimalistic design is timeless of course, but it is also a very fast player. The download is less than 500kb, it loads up in no time, and hardly uses any ressources. Plus, there’s any equalizer (which is dearly missed in Spotify).

In other words – it really whips the llama’s ass!

 

09
Jan 2014
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
image

Spotify free mobile arrives on iOS

Good news for all free users – Spotify free is now available for iOS as well:

Spotify free mobile App store

09
Jan 2014
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION No Comments
status

Spotify Discovery now live

Spotify Discovery, announced back in December (and mentioned here) is now live for the web player:

“The Discover page is available from today on our brand new web player which is now available to all users. Just head over spotify.com on your computer to try it out. We’ve also started to gradually roll out the Discover page to users on our desktop and mobile apps. When we’re ready to update your account, you’ll receive a notification.” (source)

01
Jun 2013
POSTED BY Sebastian
POSTED IN

Other

DISCUSSION 1 Comment