I need to implement Facebook integration for my app. I added FBConnect sdk and all other codes in my project. But when am clicking on FB icon nothing happens. When i debugged the code...it goes everything correctly.But why its not getting loaded? Also i added my path in "User Header Paths" and added the app id in info.plist. What's the problem? Kindly help me.Thanks.
Try taking help from here and compare your steps.
Hope it will solve your problem!
Take a look at ShareKit, it provides easier FaceBook integration and also a variety of other social services (Eg Twitter) which you can easily pick a combination of.
Related
i have made use of "FBConnect API" in my app for fb sharing..
Before two-three weeks ago it was working fine. but now it does not display share page at all.
Does any one know what is the issue with it?
OR
Any one know how to resolve this issue?
i have tried other sample apps for FBConnect api but i saw same problem in other app also.
You may get this issues of using old API's. But Below links may help you.
This is a link for new facebook ios sdk
https://github.com/facebook/facebook-ios-sdk
Tutorial is here to integrate your facebook
http://developers.facebook.com/docs/mobile/ios/build/
I have written a code to work for facebook integration with dialog page. You can use my code from below link. but dont forget to include your app id in .plist file and also inside the code.
https://stackoverflow.com/a/9954128/1083859
I have experienced problem accessing my Application Profile Page.
It was actually happening since today.
When I create a new application, in my Basic setting > View App Profile Page
it's just redirect to my website.
It also happening if I go to http://www.facebook.com/apps/application.php?id=228671190534769
However if I open another app (that is I have created before today). It works well
Anyone experiencing the same? Please help!
Yes... I am getting the same thing!!
Because of this error, I have raised a support ticket on Facebook Developers Support section. You can find this here: http://developers.facebook.com/bugs/208861915856389?browse=search_4ed6ed7d7170d5114488507
If this matches your experience, please ensure you click YES on the "Does this repro describe your issue?" at the bottom!
I am writing a website using which a user would be able to change his status on facebook. Now for this, I have to register my website on facebook. When I go to register my website on Facebook, there are various options like 'MobileApp', 'FacebookApp', 'Website' etc. Can anyone please suggest which one of these is a correct option for me. An article explaining me the same would be useful. Thanks
Saurabh
What sort of app do you want to build? Those options are for configuring the different places your app will be accessed by users.
It sounds from your description that you probably want 'Website' since you said you're building a website.
You have to Create a New App from developers.facebook.com .
Then you go Settings > Basic and select App on Facebook from bottom section.
Enter your "return url" and its done.
When I try and use Facebook with Sharekit, it pops up the login dialog, I fill in my credentials and then it just disapears (it does this in the sample project as well) Am I doing something wrong? Or is Sharekit just defunked? If so, any viable alternatives?
Yes it does. And it gets better - there is a new repo on github, which aims to bring it alive again, from the flood of various forks.
I'm using ShareKit on a current project. The Facebook integration performs this way sometimes, but I don't think it has anything to do with the library. Remember that the Facebook dialog is hosted by Facebook. It may have to do with a temporary hiccup on their end.
Sharekit still works. I love it and it saved me a ton of time. It absolutely works.
I have experienced this issue as well.
There is a bug with the sharekit when the user signing in has already authorized your app to access their facebook account.
If I go into facebook -> account settings -> apps and remove my app from the list of apps. I do not experience this bug the very next time I have to sign in to facebook through the sharekit.
I am working on a solution, as long as time permits!
I have Twitter integrated into my application, with the help of Sharekit. Everything works pretty well except, if the user happens to tap on the "Sign Up" link on the Login/allow page, it goes to a non-sign up error page. Either a "Sorry that page doesn't exist" or "Hold up! Sorry the profile you were trying to view was suspended due to strange activity."
The account I'm using is working as far as logging in, posting etc. But that link seems to go off into space. Also if I click on the "Twitter Gear"/Application Icon the dialog (web view with the Twitter OAuth Authorize page loaded) just closes.
I can't find anything about how to configure stuff like this and everything else seemed to work pretty easily. The closest reference I could find was,this link Twitter API Issue 1045
Thanks in Advance for any help
Update:
I've been checking a few other apps with Twitter support. Most of the ones I've checked (TUAW,Joystiq,TFLN) seem to have rolled their own Twitter Login Page (using XAuth I assume) the one I found that uses the Twitter OAuth page (Shazam) actually takes you to mobile Safari and it exhibits the same behavior. Maybe I need to roll my own login?
I suggest you go into the ShareKit class files, go to the two .m files that have "twitter authorization" (im not sure which of the two it is, a simple search on xcode should find it) and change the invalid url that it is being sent to to this URL: https://mobile.twitter.com/signup
That should fix your problem!
I suggest using a packet sniffer on your device to determine the exact URL being called when you click the "Sign Up" link. There are plenty of ways to do this, but it is easier on jailbroken phones. Armed with the URL, you can see if it is potentially something you are doing wrong or indeed a twitter bug.
Try Jan Rain it makes it easy to integrate this functionality without errors.
http://www.janrain.com/products/engage/mobile
Here is a ShareKit folk I am using: https://github.com/baotuo/ShareKit
It looks do not have your issues and have much more improvement. You should give it a try.
When you implement twitter integration, you should not use the library which you used in older projects but download new twitter library. I had some problems with twitter oauth when I used older library. But after download and use new library, the issue was fixed.