With the code i can do following:
1. Get the public post on the valid page using username of the page
Page name will reflect what is given by the user