Feedback Please Fix the facebook extension tutorial document

Discussion in 'GameMaker Studio 2 Community Tech Support' started by pipebkOT, Jul 14, 2019 at 6:01 AM.

  1. pipebkOT

    pipebkOT Member

    Joined:
    Dec 13, 2018
    Posts:
    134
    https://help.yoyogames.com/hc/en-us/articles/360004488072-iOS-Android-and-HTML5-Integrating-Facebook
    I'm not an expert in coding so correct me if i'm wrong , but i don't think that that's how ds_list_create works

    problem 1
    it gives a wrong number of arguments for function ds_list_create, since it should be 0 arguments
    shouldn't use ds_list_create() first and then use ds_list_add to populate the ds list or whatever?


    i think it should look something like this:
    Code:
    var _l = ds_list_create();
    ds_list_add(_l,"fields","id,name,picture");
    fb_graph_request("me", "GET", fields);
    ds_list_destroy(_l);

    problem 2:
    the same as problem 1
    .
     
    Last edited: Jul 18, 2019 at 7:10 PM
  2. pipebkOT

    pipebkOT Member

    Joined:
    Dec 13, 2018
    Posts:
    134
    *Bump


    @Nocturne,

    sorry for tagging you, but since you write the documents...:oops: can you please fix the document?
     
    Last edited: Jul 17, 2019 at 9:41 PM

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice