last day (14 days later) » 

6:44 AM
0
A: Facebook like button in iOS app using Facebook SDK

AbhishekI tried your provided code in my Sample Application it working fine FBLikeControl *fbLikeControlView = [[FBLikeControl alloc] initWithFrame:CGRectMake(100, 100, 200, 30)]; fbLikeControlView.likeControlStyle = FBLikeControlStyleStandard; fbLikeControlView.objectID=@"https://www.facebook.com/pages...

 
If it would not work, check If app registered as a URL Scheme.
 
The app is registered in the URL scheme also.But no luck!if your sample code is working,can i get that?Cant able to figure out what the issue is.
 
Sure I'll share you link soon with that sample, Also once check facebook sdk version.
 
It will be great if u can share it.Anyways i am using the latest SDK version available in the developer site.
 
6:44 AM
But actually it is not redirecting to the app page on Facebook nor showing the count of likes.right?
i am running it on iPhone5 iOS7
 
7:41 AM
I checked same code on my iPhone 5 iOS 7 and found working.
Is it not working on your side?
This is Screenshoot with my sample on iPhone for your page link
Showing like count also,since only two people liked this page so its showing you and one other.
 
8:07 AM
This is what i am getting when clicked on the like button.On the click app tries to redirect to the Facebook page but it returns without showing Facebook page or anything.
 
 
1 hour later…
9:16 AM
Its strange why same code giving different response, I'll explore some more on this
 
yeah..me too wondering why it shows like this.The like button is also missing when coming back to the app.
 
please try also with some other page, although not getting sense.
 
ok....i tried with some other links..but this same thing happens.anyways i am trying.Thanks for your time and help :)
 
Like button was not visible to my project yesterday after adding code but after updating framework it started working. I'll come to you if found any response and also let me know if you found problem cause.
 
ok..ok.i will check my framework
 
 
2 hours later…
11:41 AM
i have done the entire things from the beginning. Dont know the reason but it works now! Thanks
This simple thing wasted a lot of time
 
12:23 PM
Good to know :)
 

last day (14 days later) »