playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Download the
Ecosystem Browser
to find new actions, samples. etc.
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Updates & Downloads
»
Share New Actions
»
Twitter Api
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: Twitter Api (Read 4709 times)
dudebxl
Hero Member
Posts: 602
Twitter Api
«
on:
March 22, 2016, 07:07:19 PM »
Twitter Api
Action name: Twitter_Api
Can be used for GET or POST from twitter api.
You will get the raw Json data from Twitter (then Datamaker is recommended)
Setup
:
Get your OAuth keys from twitter dev account
Build your query. You query is a single string that you can build dynamically (manually or from arraymaker or hashtables or any other option) - Query format is a broken into sections that are separated by () with parameter=value -- resulting in this: (Parameter=Value)
For example: (q=Ufo)(count=100)(result_type=popular)
Set the correct url to twitter api
Set url extension needed for the query (depending on query type)
Json raw data is returned as a string - If you get a message in the error section then something you setup is incorrect (always check OAuth first as it is extremely sensitive).
All the information for query building and url extension can be found at
https://dev.twitter.com/rest/public
Any problems post here.
On ecosystem or
https://snipt.net/dudebxl/
«
Last Edit: March 22, 2016, 07:22:11 PM by dudebxl
»
Logged
KellyRay
Full Member
Posts: 170
Re: Twitter Api
«
Reply #1 on:
March 23, 2016, 12:50:10 AM »
Rockin, will check this out!
Thanks
Logged
dudebxl
Hero Member
Posts: 602
Re: Twitter Api
«
Reply #2 on:
March 23, 2016, 03:53:28 PM »
When using the api and you want to show text as ASCII characters, I recommend that you also use this action: CleanUtf8String (on ecosystem) to clean all non-ASCII characters.
Logged
dudebxl
Hero Member
Posts: 602
Re: Twitter Api
«
Reply #3 on:
April 02, 2016, 08:56:02 PM »
*** Update bump - corrected a small bug
Logged
m3ndi3
Playmaker Newbie
Posts: 9
Re: Twitter Api
«
Reply #4 on:
May 07, 2017, 04:32:28 PM »
I need help with this... I'm trying to tweet something using this
https://dev.twitter.com/rest/reference/post/statuses/update
I don't know how to do it... it always gives me an error...
twitter url:
https://api.twitter.com/1.1/
twitter url type: statuses/update.json
Query: "testing tweet"
I don't know how to make it a post and how to just post "testing tweet"
Please help!
Logged
dudebxl
Hero Member
Posts: 602
Re: Twitter Api
«
Reply #5 on:
May 19, 2017, 09:48:13 AM »
The query is wrong..
Can you get it to work using the Ufo example?
Did you read the setup guide and
https://dev.twitter.com/rest/public?
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Updates & Downloads
»
Share New Actions
»
Twitter Api