freeCodeCamp / freeCodeCamp

freeCodeCamp.org's open-source codebase and curriculum. Learn to code for free.
https://contribute.freecodecamp.org
BSD 3-Clause "New" or "Revised" License
405.66k stars 38.06k forks source link

FCC Challenge tweet appears as spam by Twitter #113

Closed Chris2Brooks closed 9 years ago

Chris2Brooks commented 9 years ago

When completing a challenge the option is given to tweet about it. For the past week Twitter did not want to accept these Tweets because it looked like spam.

I verified this with @brianamarie as being an issue on Twitter's side and not user account.

Upon further testing, removing the website link from the tweet and keeping the @ FreeCodeCamp username and #learntocode #javascript hashtags, Twitter accepts the tweet.

Failed via FCC Tweet link: screenshot - 22022015 - 15 21 53

Failed directly on Twitter: screenshot - 22022015 - 15 21 36

Succesful - removing FCC link: screenshot - 22022015 - 15 43 34

Chris2Brooks commented 9 years ago

I tested this further and using Bit.ly to shorten the link, makes Twitter happy. It's definitely the link that's causing the problem.

Success - using Bit.ly (will probably work with other link shortners as well)

screenshot - 22022015 - 16 00 33

terakilobyte commented 9 years ago

Thanks, I'll look into integrating with bitly's api automatically shorten the url

terakilobyte commented 9 years ago

This is solved in commit 0674466f5fc4e1390a612c94599d9bce8d0d14cb. Thanks for the report!