How can I use cocoafish/cocoafish-ios-sdk/samples/DemoApp on github.com, facebook check-in sample? - facebook

Nowadays, I develop facebook checkin of iPhone app.
So, I searched sample on github.com and found cocoafish/cocoafish-ios-sdk/samples/DemoApp.
I built this and executed this app and I clicked "Login with Facebook" on user tab.
After typing email and password and clicking "Login", this app doesn't login with Facebook.
It prompts "Failed to login with Facebook, Authentication needed".
My email and password are correct.
Also my cocoafishAppKey, oauthConsumerKey, oauthConsumerSecret and facebookAppId are correct.
My cocoafishAppKey, oauthConsumerKey and facebookApp are same and these are the AppId/AppKey that i made when i add app into facebook.
And oauthConsumerSecret is Secret Key.
then, how can i execute this app?
I am going to reference this app.
I will wait answer.

This is Wei from Cocoafish. We provide a server backend so that developers can build checkins and other networked features into their mobile apps. Currently, our Facebook support allows users in your app to also login with their Facebook account.
If you have already signed up for the Cocoafish Private Beta, please refer to http://cocoafish.com/docs/ios#facebook for instructions on how to connect your app to allow Facebook logins. If you don't yet have access to Cocoafish, please sign up at http://cocoafish.com/beta/signup and note that you are coming from StackOverflow so that we can give you a beta access code. If you have any more detailed questions, please email wei#cocoafish.com.
Thanks!
Wei

Related

How to let FB test login before it goes live?

I'm setting up facebook login for my website. I've got it working w/ a test app on my dev server. I'm getting ready to ask facebook for approval, but there's something I can't figure out. They want instructions on how to access facebook login on my site. It says:
Please provide step-by-step instructions in English that show how to access Facebook Login.
Well the problem is you can't get to facebook login on my site right now. I'm not going to add that functionality to my live site when my app still isn't approved. Anyone know how to deal with this? Do I have to give facebook access to my dev site? And point dev to the production app?
Facebook needs to be able to test it for review, so there must be a way to access it for them.
That being said, why do you even want to go through the review process? You only need to go through review if you need additional permissions. A basic login does not need to get approved.
You can read all about review in the docs: https://developers.facebook.com/docs/facebook-login/review

How to create a Facebook App?

Preamble:
I'm not a Facebook user, I never had any Facebook account, so I'm not familiar at all with the Facebook website.
I need to create a Facebook App
Today I need to implement "Facebook Connect" (authentication) for the website of a client. I'm using an existing extension which requires me to enter my App ID and Secret key, which can be obtained by creating a Facebook App.
1: Where to get started?
According to both the Facebook Documentation and the extension I'm using, a Facebook App can be created by going to the following URL: https://developers.facebook.com/apps/
2: Account required
When I go to that URL I am asked to login. Very well, so I go ahead and create my very first Facebook Account. On the registration form it says that if the account is created for a business then I don't need to enter my personal name. This account is not for me but for my client's website, and my client being a business, I go on and open a business account.
3: Account verification
To complete, I am required to verify my email address, which I do successfully. After that, it asked me to verify my personal phone number, which I do successfully.
4: Account created & verified: still can't access the App Creation page
Now, I finally have a Facebook Business Account. I go again to that same URL to create a Facebook App: https://developers.facebook.com/apps/. However, I still can't access the page as according to the Facebook Documentation it seems that I need to convert my account to a "Developer Account".
5: Developer Account required
Very well, I follow the process of converting my account to a Developer Account, provide all kind of information about me and the company hiring me, and finally, I now have a Developer Account, yeey!!
6: Second attempt
Ok, now it should certainly work and I will FINALLY be able to create this dawn app to start implementing Facebook Connect on my client's website!
Double checking that the URL is the correct one from the documentation of the plugin, and also from the Facebook Documentation itself, I go ahead and refresh this page: https://developers.facebook.com/apps/
7: Still fail: now getting redirected to Facebook Advertising
But now, when loading the above URL, I am automatically redirected to the following page: https://www.facebook.com/advertising
I have tried to log-out, erase all my cookies, login again, but nothing will do, when I go to https://developers.facebook.com/apps/ I am always redirected to https://www.facebook.com/advertising which is about creating ads but what I need is to create an app!
8: Personal Account required
I searched all over the place for an explanation or maybe for a newer URL, but no luck. I finally found on StackOverflow (Can't access Facebook Developers App!!?! Redirected to my page repeatedly) that I can't create a Facebook App with a Business Account, and that I need a Personal Account instead.
9: Personal Account creation
Very well, I go ahead and create my very first personal account on Facebook.
10: Can't create a personal account, email and phone already used!
Oops, it says that my email was already used for another account. Hmmm OK so I go ahead and create a new email address especially, and then try to register a personal account again. Now it is asking to verify my phone number, which I do, but unfortunately it says that my phone number was already used to verify another account earlier today!
Dawn, I'm really starting to feel exhausted by Facebook. Let's think about a solution. I have only one phone number, and I wouldn't use the phone of a friend as they all have Facebook and all probably verified their own accounts using their phones.
11: Deleting my Business Account created earlier
Solution founds! I will delete my business account, so my real email and my phone number will be available again! Yeey!!!
12: Facebook won't delete my account today
A few minutes later, I understand that my Facebook Account cannot be deleted today. I can deactivate it. But this won't free my email nor my phone number. After some research on the web I found a hidden form that allows to really delete my account. I go ahead through the deletion process, enter my password about 10 times, and fill 10 really hard CAPTCHAS, and finally my account is deleted! Oh wait... it says it won't be deleted before 2 weeks!!!
13: Final attempt: fail again
Anyway, I still try to use my phone number again to create a personal account, but still no luck, Facebook won't let me use my own phone number to activate my account.
What are my options?
Have you looked at all into dummy phone numbers, such as with Google voice (free) or with Skype (nominal fee)? Some sites, such as Craigslist, can sniff those numbers out and still not allow them to be used for verifying, but others can't tell the difference. Could be useful.
Depending on how big your client's budget is, maybe grab a throwaway prepaid phone from the store and use it. Just a few thoughts on how to avoid the phone issue. Everything else seems straightforward after that.
Building an app on Facebook gives you the opportunity to deeply integrate into the core Facebook experience. Your app can integrate with many aspects of Facebook.com, including the News Feed and Notifications. All of the core Facebook Platform technologies, such as Social Plugins, the Graph API and Platform Dialogs are available to Apps on Facebook.
In this document we will explain the following concepts:
Canvas Page: The Page in which your app is loaded.
Social Channels: The key channels that help you grow your user base and re-engage existing users.
Analytics: Accessing analytics for your application.
If you wish to start building an App on Facebook now, please refer to our getting started tutorial. If you want to build an app to add to the tab of a Facebook Page then you should refer to Page Tabs.
Visit this site
https://developers.facebook.com/docs/guides/canvas/

Facebook Registration and Login Apps, Need Guidance

I have used Face book Apps for register and login for my website (in PHP). Problem is very simple for you all experts.
When I try to login via FaceBook using my email id which I am using for Facebook developer login then I succeed but if I give any other email ID I can't able to login.
Ex.
x123#yahoo.com is id which I'm using for Facebook Developer Account
a123#gmail.com is normal Facebook user account.
Now if use x123#yahoo.com for login in my website, I am successful and redirected to Profile Page)
But if I use a123#gmail.com for login in my website I FAIL and I come back on same page from where I tried to login
Any guidance will help me to move forward I'm stuck here
By the reading of your problem I think you have your app on Sandbox mode. If you want to test on other profiles, you should consider creating Test Users.
Depending of your purposes, you may create another app just to make your tests (and therefore need not to be on sandbox mode).

facebook login without dialog in wp7

Several WP7 apps (like the official FB application) provide their own login dialog and after filling it you get connected to facebook.
Further you are automatically logged in when you call the application later.
In general it's no problem to store the credentials encrypted on the device.
My question - has anyone an idea how to achive what the "offical FB app" does?
I searche around - but found nothing more then "must use the dialog / there is no other way...".
But for sure there is a way - since apps do this.
The "official fb app" also requires authentication.
the "Built in facebook support" works by connecting your LiveID to your facebook, and you still gave it your credentails when you connected it the first time.
There is nothing that exposes the "built in" credentials for any of the accounts (twitter, linked in, etc)
Can you imagine what would happen if ANY app could just automatically log in to any of those apps and do whatever they want?

lost my Facebook appid for my website

We registered our website with Facebook.
We then wanted to start using the Facebook Javascript API
to make use of the Facebook Feed Dialog (see https://developers.facebook.com/docs/reference/dialogs/feed/)
How can we find out what the appid was that we got?
Set up fb developer account(in-short)
Go to the Faceboook search bar and type in "developer." When the Facebook Developer application comes up, add it to your profile.
According to new rules, your account must be verified. Please verify your account by adding your Mobile phone or Credit/debit card here
3 simple steps to get facebook app ID
Go to apps in your facebook developer account
On the left side you will find the list of apps you have created out of them finding the required one should not be difficult, so click on that.
Then you will see the summary of that app, out of which the first one should be App ID/API Key
ta-da
I hope this helps