Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Flash Multiplayer Virtual Worlds

You're reading from  Flash Multiplayer Virtual Worlds

Product type Book
Published in Aug 2010
Publisher Packt
ISBN-13 9781849690362
Pages 412 pages
Edition 1st Edition
Languages

Table of Contents (18) Chapters

Flash Multiplayer Virtual Worlds
Credits
About the Author
About the Reviewers
1. Preface
1. Developing Flash Virtual World 2. Installing the Servers 3. Getting Familiar with SmartFoxServer 4. Creating Map and Ground in Isometric View 5. Creating Avatars 6. Walking Around the World 7. Creating Buildings and Environments in the Virtual World 8. Creating an Inventory System 9. Communicating with Other Players 10. Interacting with NPC 11. Designing Quests 12. Social Community 13. Deploying and Maintaining Flash Virtual World

Integrating the Twitter platform


Twitter is a simple yet popular social network service that asks a simple question, "What are you doing?" Friends and followers will then have their conversation related to this topic.

We are going to demonstrate another approach of communicating with the social networking API. We will use the extension approach with the help of Java extension.

We need to set up the Twitter API by:

  1. 1. Download the jTwitter.jar class from http://www.winterwell.com/software/jtwitter.php.

  2. 2. Place the jTwitter.jar file in SmartFoxServer Installation Directory | Server folder.

  3. 3. Edit the start.sh file in the Server folder to add jtwitter.jar into the classpath.

Publish latest virtual world news in Twitter

We are getting back to the emotion message that we used for updating the Facebook status. We are not trying to post the same emotion message to Twitter. Unlike the Adobe Facebook API, Twitter sets a more restrictive access from Flash player. Therefore, we are going to use the server...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}