cohen990 / VoxPop

The voice of the people in pictures!
0 stars 0 forks source link

Build sharing from scratch #198

Open AJizzleBizzle opened 9 years ago

AJizzleBizzle commented 9 years ago

Sharing Library Errors:

New stories need to be scraped in the debugger before their meta-data shows up in fb share box...

Email doesn't work on PCs, or at least not on chrome.

Twitter link needs bitly-fying or get the share box to realise its a link as even reasonably length titles are overlong for the tweet...

V.clunky on mobile, need to get share link triggering their respective apps really... Or build a VOXPOP app

Possibly just leave the title/pic in the meta-data, the story text looks clunky.

Also figure out how to get the pic to include the chart

cohen990 commented 9 years ago

For sharing on twitter - you could probably use the bitly API http://dev.bitly.com/

Use this method

cohen990 commented 9 years ago

The request would look like

https://api-ssl.bitly.com/v3/shorten?access_token=ACCESS_TOKEN&longUrl=http%3A%2F%2Fgoogle.com%2F

except replace ACCESS_TOKEN with your API access token (you'd have to sign up)