Page 1 of 1

New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 4:23 pm
by Anil Sagar

Trying to use facebook api. Everything worked fine until I tried to add new input area or any other button anywhere on Facebook_Me page. Not sure what the problem is. This is not allowing me to test the 'post to FB' functionality of my app.


New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 4:25 pm
by Anil Sagar

Deleted all files related to facebook api plugin. Created the plugin from scratch. Created the facebook app from scratch on Facebook. Nothing seems to work. Same problem again.


New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 4:56 pm
by Kateryna Grynko

Hi,

Did you change source files?


New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 5:28 pm
by Anil Sagar

Yes. I was trying to follow the instructions as given on

https://developers.facebook.com/docs/...

Added the following code as "Include the JavaScript SDK on your page once, ideally right after the opening tag.""

This code was added to Web resources FilesFacebook_Me.html.

Deleted the code within minutes as it did not give me 'recommend' and 'share' buttons as I desired.

Code added and deleted:

Code generated from "Get Code"after choosing "Recommended" in "Äction Type" on the FB page


New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 5:29 pm
by Anil Sagar

Code was:


New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 5:31 pm
by Anil Sagar

Code was:

All commented otherwise not able to post here

//
//


New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 6:31 pm
by Kateryna Grynko

After you change Source files you won't be able to edit your app within Appery.io UI. That is why we recommend to make these changes right before exporting your application. You would need to undo changes: http://devcenter.appery.io/tutorials/...

You can paste all the code in HTML component.


New input area and button added to Facebook_Me page not visible while testing

Posted: Fri Jul 04, 2014 6:57 pm
by Anil Sagar

Thanks this solved my problem