Interesting note; my blog hit 10,000 comments! Thanks everyone! Ok, now to Bleh Facebook!!! I’ve been trying to add a simple invite your friends to play Sitizens link for a long time, but it’s frustrating with all the different changes they’ve made.
I did manage to figure it out but not without much frustration. I even used code snippets on their site that they give as an example which seem to be depreciated because it just gave error codes saying you couldn’t do that.
The difficulty for me wasn’t sending out the facebook apprequests, but getting the friends ids from the requests_ids afterwards. Most examples show you how to delete the request (you are required to if you want to have users sending out requests), but it seemed like nowhere told you how to get the info out of them. Well here ya go:
To read the request:
$info = $facebook->api(“/$full_request_id”);
To delete the request:
Very similar, and maybe someone smarter than me would figure it out quicker. But even searching for things like How to get ids of facebook invited friends didn’t help. Most of the info out there is from the old depreciated stuff. Yay!