[TUT] How to post on Twitter from CS
1 Attachment(s)
First of all, this tutorial is intended to show an example of how to use some web-services APIs so you should have knowledge about sockets and http protocol.
In this case I'm using Twitter web API that allows you to update your status with a single request. Because of this example will run over only one account of Twitter, that account should be, for example, for your CS community. Requirements: Step 1: Twitter API Twitter API allows people to make their own software that interacts within Twitter.Step 2: How can we allow players to send tweets!? You can handle say command to manage only those messages that starts with a tag. I'm using the tag @tw.Step 3: Let's go! This are the tasks we have to do to make a single HTTP request that tweetsStep 4: Example plugin I will share a small plugin that let's you send tweets when you're playing. Notes This technique it's valid for a lot of applications (Twitter, Facebook, LinkedIn). Also you can make your own web application to manage such kind of messages and the use it as your needs. |
Re: [TUT] How to post on Twitter from CS
n1 i never took much interest in sockets but they seem really useful
Edit: Why are you messing so much with this? PHP Code:
Or, 2 formats could also be posible, since you can rewrite them. |
Re: [TUT] How to post on Twitter from CS
Quote:
|
Re: [TUT] How to post on Twitter from CS
I was working with Facebook ( http://forums.alliedmods.net/showthread.php?t=117776 ). And you have to create a sessionid. :down:
Also facebook is very secury. But any won me!!! |
Re: [TUT] How to post on Twitter from CS
this don't work :( I put first in the list of plugin.ini.. but show me the admin message..
|
Re: [TUT] How to post on Twitter from CS
Quote:
|
All times are GMT -4. The time now is 11:49. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.