Truncated fb requests

When a player invites friends to start a new game, I send requests to the other players to notify them. When someone plays a round in an ongoing game, I send requests to the players who haven’t yet taken their turn in that round.

On the sending device I get the expected fb dialog that shows the sender, the recipient, and the text of the request. I press send and the dialog goes away. Everything looks good. On the receiving device the fb notifications icon has a number next to it to indicate there’s an incoming request, and when I press that the header of the request shows up in the list as it should, saying “[Game name]: PlayerX has sent you a request.” But when I touch that entry to accept it, I just get “Item not found”. What does that mean?

ps. In my invite dialog I request “me/friends” and then display the list based on the choice of “All Friends” or “Friends with [Game] Installed”. Is that now superfluous with the new “me/friends” API?

For your ps:, yes, you only get friends with the app installed.

How are you communicating with the other player?  Some code would be really useful.

Rob

To invite friends to a game I just started:

    local params = {}
    params.title = “Let’s play!”
    params.message = “I’ve just started a new game and you’re invited.”
    params.frictionless = “1”
    local requestList = “”    
    for i = 1, #facebookRequestIds do
        if i > 1 then
            requestList = requestList…","
        end
        requestList  = requestList…facebookRequestIds[i]
    end
    params.to = requestList
    params.data = requestGameNumber  – unique timestamp used later to delete this request
    facebook.showDialog(“apprequests”, params)

For your ps:, yes, you only get friends with the app installed.

How are you communicating with the other player?  Some code would be really useful.

Rob

To invite friends to a game I just started:

    local params = {}
    params.title = “Let’s play!”
    params.message = “I’ve just started a new game and you’re invited.”
    params.frictionless = “1”
    local requestList = “”    
    for i = 1, #facebookRequestIds do
        if i > 1 then
            requestList = requestList…","
        end
        requestList  = requestList…facebookRequestIds[i]
    end
    params.to = requestList
    params.data = requestGameNumber  – unique timestamp used later to delete this request
    facebook.showDialog(“apprequests”, params)