Passer domesticus [Twitter] (='.'=)

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
Mariasole
Posts: 235
Joined: Tue May 07, 2013 9:38 pm

Passer domesticus [Twitter] (='.'=)

Post by Mariasole » Mon May 30, 2016 7:06 pm

Hi!
I'm doing another experiment :D in my submarine and I think it will be useful to all of my colleagues beginners. :!:
I would like to connect to Twitter with LC desktop (not server) and send messages.
Only send messages, nothing complicated...
I read that other programs use the Twitter API to do these things. I do not know what is an API, where to find the Twitter API, and especially if LC can connect with this API to send messages!
Can anyone help me find the key to the problem? :roll:


(='.'=)
Mariasole
"I'm back" - The Cyberdyne Systems Model 101 Series 800 Terminator

MaxV
Posts: 1580
Joined: Tue May 28, 2013 2:20 pm
Contact:

Re: Passer domesticus [Twitter] (='.'=)

Post by MaxV » Wed Jun 08, 2016 4:41 pm

You can use simple url like this:

Code: Select all

put URL "https://api.twitter.com/1.1/search/tweets.json?q=%40twitterapi"
here the documentation: https://dev.twitter.com/rest/public

However you need to authenticate using oauth: https://dev.twitter.com/oauth/overview
Livecode Wiki: http://livecode.wikia.com
My blog: https://livecode-blogger.blogspot.com
To post code use this: http://tinyurl.com/ogp6d5w

Mariasole
Posts: 235
Joined: Tue May 07, 2013 9:38 pm

Re: Passer domesticus [Twitter] (='.'=)

Post by Mariasole » Wed Jun 08, 2016 5:45 pm

Grazie MaX! :D
Now I'm going to study the material you reported to me, you've been really kind to help me!

thanks again!

Mariasole
(='.'=)
"I'm back" - The Cyberdyne Systems Model 101 Series 800 Terminator

Post Reply