Git Product home page Git Product logo

Comments (9)

raxityo avatar raxityo commented on July 28, 2024 4

Twitter could also be used as an image hosting service without requiring OAuth. πŸ˜‰
Here's how it's done in carbon.now.sh:

  1. Post a Tweet with your image from some predefined account.
  2. Find the media link from the resulting tweet.
  3. Attach this new link to your tweet composer.

Reference:

from github-contributions-chart.

konojunya avatar konojunya commented on July 28, 2024 3

I will make a pull request!

from github-contributions-chart.

Slals avatar Slals commented on July 28, 2024 2

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.

abhishek-parmar1 avatar abhishek-parmar1 commented on July 28, 2024 1

@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.

konojunya avatar konojunya commented on July 28, 2024 1

@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.

ShivamSinghania avatar ShivamSinghania commented on July 28, 2024

And add a #hashtag on the website.

from github-contributions-chart.

DanielRuf avatar DanielRuf commented on July 28, 2024

Could the clipboard / file API of the browser used here?

from github-contributions-chart.

konojunya avatar konojunya commented on July 28, 2024

@DanielRuf

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.

konojunya avatar konojunya commented on July 28, 2024

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.

Reference: https://github.com/dawnlabs/carbon/blob/89931eab59e2bf7bd594ba6451ff4030bccf4685/handlers/twitter.js#L14

from github-contributions-chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.