Open TomWFox opened 4 years ago
Something like that for twitter would probably work : https://publish.twitter.com/?buttonType=FollowButton&query=https%3A%2F%2Ftwitter.com%2FGM&widget=Button If already logged on twitter it should display follow or unfollow according to the current user state for that account, in this case GM
Embed of instagram profile seems to be harder, easy for a post tho : https://www.instagram.com/developer/embedding/
It would require much more work but I'd love to see a "connect with Twitter/Facebook/Instagram" to find out what are the brands that you are following that still actively promote fossil fuels.
People will do it, especially if we are open source and we commit to not save the credentials (we could remove them automatically from our database after 24h).
The next screen could be:
You are following 12 brands that actively promote fossil fuels: [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [ ] [unfollow all] Done ✓
Tweet about it: "I've just unfollowed 12 brands (@mercedes @britishairways @...) with unlikefossilfuels.com" [tweet]
4 people that you follow are following 32 brands that actively promote fossil fuels.
Would be good to add instagram and/or twitter... I'm not entirely sure if they both have widgets like the fb ones but I think I've seen them.
Happy to take a look at this if a pr would be considered...