Chapter 12. Social Community

Social networking has been a hot trend on the Internet recently. People want to know what their friends are doing on Internet now and their behaviors will influence their friends. For example, when several friends are doing one thing in the social network, their friends will have a higher chance to follow their behaviors. When they are playing one social networking game, the chances of their friends joining the same game becomes high.

We can enhance our virtual world by adding social network community. We will use the social networking features from existing social network services and use these services to help spread the virtual worlds to potential players.

In this chapter, we are going to integrate several key features of Facebook and Twitter. We will also learn how to use the API provided by those social networking services to put and fetch resources with them.

The benefit of using social network features in virtual world

The main purpose of the social networking services is connecting friends together. We can benefit from it by letting players and friends form their community inside the virtual world. Friends can share news of the virtual world to other friends that are inside or outside the virtual world. The news sharing mechanism increases the exposure of the virtual world and attracts more friends to join.

Players can easily interact with others with SmartFoxServer. By further integrating the social network services, they can socialize inside the virtual world in almost real-time.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
13.58.197.26