[solved] I need help whit the project "build a random quote machine"

Hi, my name is Gonzalo. i am learning english, my english is poor, sorry.
i need help with API´s Twitter. because i don{t find the documentation about that.
but i find info about create button of twitter for share the page, no for share only the text.

thanks so much for help me.

First off, no need to apologize for your English. I’m sure it’s much better than my … errr … whatever it is you speak. Just be patient with us.

Yes, APIs are confusing enough to begin with and every one is different and they are often poorly documented.

So I ignored Twitter’s API and did it an easier way:

window.open("https://twitter.com/intent/tweet?text=" + text);

One method is explained here - https://dev.twitter.com/web/tweet-button

1 Like

This page (https://dev.twitter.com/web/intents) explains in detail how to use Twitter’s Web Intents.

1 Like

Thank you so much for your help. I will try it

1 Like

No problem, let us know if you need any more help with web intents :slight_smile:

thank you so much for your help, i will see the info.

1 Like