I’d like to be able to view a facebook page from within a Corona-based app. Facebook has a Page Plugin. If you go to this site, you can impose a URL and parameters. As a result you get a javascript and an HTML reference. I can create a local html file with the results and use a webPopup to show. However, i end up with a hyperlink that you must click to see the page. Can i avoid the hyperlink and show the page directly? Is there a better way with Graph API? [i generated the output below from the referenced facebook developer page]
I wouldn’t say “bad” question, but it’s a tough question. Most of the people around here are not used to Javascript and HTML code. After looking at the FB page, they are giving you drop-in code to an existing HTML page. I think it would be helpful to see your webView code, how you’re creating it, what the full HTML you’re providing it is for someone to give you an answer.
A novice myself. Since facebook provides a direct method to get the HTML code, seems there should be an easy way to utilize it. I create the temporary HTML file listed below in the documents directory of the device. I then use this lua code to attempt to open the page. The result is a web popup with only a hyperlink named “facebook”. It seems there would be a way to mimic clicking the hyperlink (reload or onLoad), but I don’t see the trick. To make this a more direct Corona question, is there a better way to get the Page result with the facebook plugin ( I was trying to avoid requesting facebook permissions within the app).