generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: How would I post to twitter from ROBLOX?

Previous Thread :: Next Thread 
thetacah is not online. 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
HeavenlyRobloxrox3 is not online. HeavenlyRobloxrox3
Joined: 02 May 2012
Total Posts: 101
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 is not online. 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 is not online. thetacah
Joined: 18 Jan 2013
Total Posts: 16026
13 Apr 2014 09:06 AM
0
Report Abuse
DataStore is not online. 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 is not online. 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
HeavenlyRobloxrox3 is not online. HeavenlyRobloxrox3
Joined: 02 May 2012
Total Posts: 101
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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image