package com.jvm_bloggers.core.social.fb;

import org.springframework.stereotype.Component;

import static java.lang.String.format;

@Component
class FacebookMessageGenerator {

    private static final String MESSAGE_TEMPLATE =
        "Nowe wydanie JVM Bloggers czeka już na Was: %s #java #jvm #newsletter #jvmbloggers #blogs";

    public String generateFacebookMessage(String issueLink) {
        return format(MESSAGE_TEMPLATE, issueLink);
    }

}

@@ -292,33 +292,8 @@
 jvm 
-#newsletter #jvmbloggers 
 #blo

Reduce hashtags noise in Facebook message