Comments (9)
Twitter could also be used as an image hosting service without requiring OAuth. π
Here's how it's done in carbon.now.sh:
- Post a Tweet with your image from some predefined account.
- Find the media link from the resulting tweet.
- Attach this new link to your tweet composer.
Reference:
- Tweet handler in carbon.now.sh: https://github.com/dawnlabs/carbon/blob/master/handlers/twitter.js
- Usage of this Tweet handler: https://github.com/dawnlabs/carbon/blob/89931eab59e2bf7bd594ba6451ff4030bccf4685/lib/api.js#L17-L27
from github-contributions-chart.
I will make a pull request!
from github-contributions-chart.
We need to upload the image in the first place. Do you know of a service that allows to upload images for free?
I see an option which consists on using Twitter API and letting the user to upload the image in his/her Twitter account, then it's easy to tweet about it.
from github-contributions-chart.
@SlaAls you can also use a common platform to upload image (like imgur) and then use its link to share on any social platform.
from github-contributions-chart.
@abhishek-parmar1 I think that this plan is also good.
ex
Flicker: https://www.flickr.com/services/api/upload.api.html
imgur: https://api.imgur.com/endpoints/image/
Or would you like to mutate images by Twitter OAuth authentication?
share button click β popup twitter oauth β tweet :)
from github-contributions-chart.
And add a #hashtag on the website.
from github-contributions-chart.
Could the clipboard / file API of the browser used here?
from github-contributions-chart.
Could the clipboard / file API of the browser used here?
I will try to implement such that base64 image data is requested to the server and the URL of the image is returned by Twitter API.
This is the same implementation method as https://github.com/dawnlabs/carbon.
from github-contributions-chart.
When implementing using Twitter's API, it seems that you have to make an account and tweet there.
So, create an account and implement it.
from github-contributions-chart.
Related Issues (20)
- feat request: Organization filter support HOT 1
- feat request: display number of git forks HOT 2
- Private contributions HOT 1
- Certificate error HOT 3
- How to increase final resolution of the image? HOT 1
- Is there a way to add Bitbucket/GitLab support? HOT 3
- Share button does not do anything on desktop HOT 2
- Contribution count does not show up correctly HOT 2
- My profile can't be found HOT 2
- Better color scaling HOT 1
- API returns no contributions; charts are empty
- Split the util functions into single repository and publish it to NPM HOT 1
- [Feature] Define the year HOT 3
- [Feature] Screenshot periodically
- [Feature] Just green squares - No title HOT 1
- Contributions Count Discrepancy HOT 2
- The first week include part of the last week of last year
- [Feature] Considering support for Gitee or Other Git platformοΌ
- Make it possible to generate charts based on available data
- Website doesn't work: Could not find your profile HOT 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 github-contributions-chart.