-4

Hello friends i have developed game application on facebook. I have to post random content as user to their wall at any time and automatically. Please suggest me the ways to do this.

Kara
  • 6,115
  • 16
  • 50
  • 57
ratna
  • 67
  • 1
  • 5

1 Answers1

0

You could use a thread that would do posting in periods. With respect to time that this thread would do the posting you could generate random values ​​(in Java http://www.javapractices.com/topic/TopicAction.do?Id=62). These random values ​​were used in the thread sleep. to randomly generate the content, could use the same method as above. To do this, could use a java Map (http://download.oracle.com/javase/6/docs/api/java/util/Map.html) where the keys are possible values ​​generated by the random method and the values ​​of the map would be the posting to be done.

To post in wall using Java: http://restfb.com/

vctlzac
  • 837
  • 2
  • 16
  • 38