added socialnetwork options to example code