Have looked around and can\'t quite find the answer. I am trying to run a promise which executes a fulfil statement once all facebook api pages have been iterated through and sa
You need to fullfil/resolve the value that you need from promise. Call the function fulfill with a value you that you need.For example if you want to resolve an array: