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
Related
Our team is building an app that has Facebook login requirement (in addition to other oauth/identity providers such as LinkedIn, Google, end so on).
The app is obviously in the sandbox mode, so in order to develop/play with it, it requires developer accounts for each team member, otherwise login flow just fails.
My problem is that, as an app "owner" I don't see a way how to register developers or testers that are not in my friend list. I tried to put an e-mail address of one of my colleagues that she is using for facebook account, but Facebook did not accept it with the message that user id could not be resolved. And I really do not want "to friend" with anyone. Making the app live is not an option either as it required review process, and we are pretty far from finishing this.
So is there any solution?
Update: Here is the error message shown to the user when she is not registered as a developer:
App Not Setup: The developers of this app have not set up this app
properly for Facebook Login.
Ok, figured it out. An app owner can use an alias that comes with the "facebook email" (whatever is in front of #facebook.com)
To access this special id, you need to go through the set of links:
Your profile page
Then click About
Then click "Contact and Basic info"
Then click on emails link to show your emails (emails hidden from Timeline)
Then find #facebook.com email and take the part before the # and use it
for registering
On this page, it says that Facebook Login is not required to use the Share Dialog. I've developed an app that uses the Share Dialog, and it all works fine in testing.
However, when it comes to approving the app, under "App Details" it tells me this:
Your submission contains the following errors:
You must choose at least one platform to be displayed
I don't actually need the app listed in FB's app center, but it seems to require it. So then I check the Android option, and instead I get this error:
Facebook Login has not been used successfully on your app in the past
30 days. Please test Facebook Login with your app prior to submitting
for review. Be sure to test the entire login flow, starting with the
TOS agreement (this may require uninstalling and reinstalling your
app). We will remove your app from the App Center if we determine that
you have not integrated Facebook Login correctly.
Now naturally since the app just uses the Share Dialog, which doesn't need a login, I haven't implemented login.
How do I get past this? I've read through a LOT of docs on the FB website.
You don't need the app to be listed in Facebook's app center. You need to go to Your App > Settings > Add Platform > Website and list the Site URL. Facebook apps require a "platform" to be specified (web, iPhone, canvas etc).
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/
I am trying to get Facebook features (like button, and login capabilities) on my website but I am having a tough time figuring out how to do it. I have a Facebook page for my website too, I do not have an app, but from what I've seen I'm supposed to create this App profile through Facebook in order to access all of these features. I am simply confused. I have a website, I have a Facebook page for that website, now I want to link the two. Again, I do not have an app for the site, yet, as it is in its early development stages. Please help me figure out what I must do to link my website to Facebook capabilities
Just "create an application" for the website. I think what you are most confused about is actually building an app.
"Create an application" provides a reference for your application to reside. All Facebook plugins currently must be processed through the JS SDK which needs an application (reference) to make requests. You will see the benefits of doing this when using facebook.com/insights
Also your Facebook fan page has nothing to do with your website, think of it separately, it will cause less confusion. There is no way to link them.
Summary: Just click the "Create app" button, set the domain to your website domain and supply the application id to the JS SDK.
Have you checked out their site? https://developers.facebook.com/
All you need to do after registering with Facebook as a developer, you should have a control panel. After that you should have a dev key, so when you make an API call to Facebook that you can authentic yourself as a registered developer. You do need to enter the javascript file in the head section so that when you call the Facebook API your Javascript code knows to reference the calls.
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).