public void ExecuteTest() { var cmd = new GetFacebookPlaceHoursCommand() { Args = new CommandArgs.GetFacebookPlaceHoursCommandArgs() { AccessToken = "CAACEdEose0cBANQz7icsJutf9V38DildEeBJ92GDLO90yFGVQ469PIGOPEeBCArXyVazeRY5ZAKSmaelslxZAClJQEjuSMPBlWi0qHkmXNMv3O7GWhRwkvsXoOGQE1WQ7Xy5hZBdZBWZC18GtiLV3iNMR6iyMHkrpbgn10jyM0aQMx8wuzVmy6QtBgoP8oBsukbmpKHi6WAZDZD", FacebookId = "lost577" } }; cmd.Execute(); var res = cmd.Results; }
public FacebookHoursFormatted GetHours(string accesstoken, string facebookId) { var cmd = new GetFacebookPlaceHoursCommand() { Args = new GetFacebookPlaceHoursCommandArgs() { AccessToken = accesstoken, FacebookId = facebookId } }; Runner.RunCommand(ref cmd); return cmd.Results; }