opengraph - facebook ios publishing scores -
i'm using facebook ios sdk 3.5, following instructions found here https://developers.facebook.com/docs/tutorials/ios-sdk-games/open-graph/ , code found in friendsmasher, trying post score. however, i'm not seeing results on feed.
thanks
this test code our game:
nsmutabledictionary* params = [nsmutabledictionary dictionarywithobjectsandkeys: @"100", @"score", nil]; nslog(@"posting new score of 100"); [fbrequestconnection startwithgraphpath:[nsstring stringwithformat:@"%llu/scores", myfbid] parameters:params httpmethod:@"post" completionhandler:^(fbrequestconnection *connection, id result, nserror *error) { if(error){ nslog(@"an error has occured: %@", error.debugdescription); } else nslog(@"score posted"); }];
the request permissions done using deprecated function openactivesessionwithpermissions email , publish_actions passed
you can check activity log on desktop score stories. you'll see stories if high score example, can test that. fact score posted not show in news feed. stories may show when score posted stories passing stories (you passed friend) or high score stories. can check these types of stories in activity log.
Comments
Post a Comment