Wowza Community

How to Live Stream to Facebook pages and groups using Rest API

I am trying to stream from Wowza Stream Engine to Facebook Pages and Groups, but I couldn’t get the correct JSON format data and is there any API to get the list of pages and groups available for an account? or just guide me in a right way, how can I proceed with this?
Is there any other document to proceed? currently I am using this document 'https://www.wowza.com/docs/send-a-stream-to-facebook-with-wowza-streaming-engine-rest-api#create-a-stream-target-in-wowza-streaming-engine 

you need to use facebook graph api to view groups and pages of a user. and you need to have a facebook app for gaining access to that info.