added in the fb app codes and changed codes for user-owned to app owned for objects created