Comments (3)
Maybe we'll do the easy solution first and see how it goes
I agree! I think starting off with text is fine.
If you plan to implement with images, I think cloudinary has a JavaScript SDK that lets you upload images without the server-side code and its free too.
from year-in-dev.
We merged this feature yesterday. Now there's a Share button on the Stats page that generates a tweet intent containing the stats and link to the page.
We also included the username and name of the user in the meta tags so the twitter card would display a custom title and description for each user. This last part may take a week to be available because of how twitter handles card tag information (more info about this on twitter docs).
Thanks again @saurabhdaware!
from year-in-dev.
Great idea! We're thinking about how to approach this. The easiest solution, I believe, would be to create a string that would be sent as a tweet. I'm thinking something like:
"My year in DEV: I wrote N articles. Received X comments and Y reactions. My favorite tags were #tag1 #tag2 #tag3.
https://year-in-dev.cephhi.com/username"
On the other hand, the ideal solution for me would be to take a screenshot of each user's stats and then share the image as a twitter card. But we'd have to store those images somewhere (free) and it'll take longer to build 🤔
Maybe we'll do the easy solution first and see how it goes. What do you think @saurabhdaware ?
from year-in-dev.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from year-in-dev.