Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

facebook like button

Hi,
I have had to delete this code because when app opens loads splash it is supposed to go to settings screen where facebook button is,

as soon as the navigates to this page the phones browser opens with very small fb button at the top of page and nothing else on page,
as its now in the browser and not in the app?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

facebook like button

Hi Michael,

You would need to export project to xCode source code, then open it in xCode and in file Cordova.plist change value "OpenAllWhitelistURLsInWebView" from NO to YES.

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

facebook like button

Hi Katya,
changed AllWhitelistURls InWebView to yes, run app in ios 5 simulator,
app starts goes to settings screen, no fb buttons on screen?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

facebook like button

In xCode, open file Cordova.plist. In ExternalHosts section ensure there is an item with value = *. App may block access to Facebook due to incorrect ExternalHosts settings.

Image

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

facebook like button

Katya,
you are a very patient lady, thank you, running in sim, loads button and logs in and comment, all good.

is it possible to bring the project back to tiggzi from xcode or do I need to publish the app from here after these corrections

again thanks, I would never have sorted this

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

facebook like button

No. After some corrections in source code are made you would need to build IPA from xCode.

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

facebook like button

Cheers Katya,

Michael4771079
Posts: 0
Joined: Sat Jul 21, 2012 2:03 pm

facebook like button

Hi Katya,
ran into another problem,
like button works on sim and device,

but on device when it takes you to fb login page, and you click login,
screen goes blank, just a white screen and does not return to app,

if the user is already logged the button works, allows comment etc.
ipad 4 ios 6.01

Sean Kelley
Posts: 0
Joined: Thu Oct 11, 2012 2:25 pm

facebook like button

I have been following this thread...just implement via info above and get the same white screen on Nexus 7 with android 4.2.2 the first time I was taken to a browser and tried to login to FB. I noticed when I clicked back and tried to like something in app it worked...sort of.

I then looked at numerous other data items that would be like-able in my app and they were already marked as liked (but I have not like anything other than the first). After opening app again, I can like things separately so maybe the odd behavior of the initial white screen made things strange at first.

When I liked something, on facebook it showed an odd graphic of an envelope icon for photo. Maybe I can resolve that with adding Open Graph protocol tags.

I also noticed that send button is not showing either.

I am also curious about the fact that my device sent me to a web browser to login even though I have the FB app installed and I am logged in to it. After my initial issues, I then logged out of facebook on external version of chrome . I reopened my app and could still like things and comment so is it possible that the in-app login status might be restricted to in-app browser? If so, seem strange because I would never be able to log out.

I am not sure how to test moving forward now because I need to log out of fb on the in-app browser to restest for initial use of like button again. Perhaps uninstalling app will work.

Obviously, I need to play with it more to try to figure out what is happening.

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

facebook like button

Hello,
We are still working on it.
This needs some time.

Return to “Issues”