thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 13 Apr 2014 08:54 AM |
I just started using httpservice and i`m curious on how to post from ROBLOX on twitter.
What I have so far is a script that prints the url out
http = game.HttpService local url = "https://twitter.com/thetacah" local test = http:GetAsync(url, false) print() print(url)
|
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 09:02 AM |
http = game:GetService("HttpService") local url = "https://www.twitter.com/thetacah" local data = "Hello guys!" -- This is the tweet you are sending out! http:PostAsync(url, data, Enum.HttpContentType.ApplicationJson)
I think this is how you do it... |
|
|
| Report Abuse |
|
|
DataStore
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 13 Apr 2014 09:05 AM |
| Whilst I haven't looked that far into it, I don't believe they [Twitter] provide an API to do this. You'd likely have to come up with your own way, but again I may be wrong. |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
| |
|
DataStore
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 8540 |
|
|
| 13 Apr 2014 09:06 AM |
@Heaven, If that were a "thing" then people would be able to post on other people's Twitter feeds as if they're the owner of said Twitter feed. |
|
|
| Report Abuse |
|
|
thetacah
|
  |
| Joined: 18 Jan 2013 |
| Total Posts: 16026 |
|
|
| 13 Apr 2014 09:08 AM |
| So, data you`re saying that I`d have to make my own website that takes data from twitter? Then get data from there from ROBLOX? |
|
|
| Report Abuse |
|
|
|
| 13 Apr 2014 09:09 AM |
| Oh yeah I mean i knew that there was some security thing blocking it from doing that... Plus it won't know which form to post it to... |
|
|
| Report Abuse |
|
|