connecting web page to facebook page - facebook-javascript-sdk

Ok, this is frustrating, I'm running in cricles, therefore I appreciate any hints or directions..
Having a web page, I need to have a share & like buttons on it. The SDK needs na APP ID to connect, so I've created an facebook page. Well, turns out page ID isn't the same as app ID. So, having right now a web page, a FB page and a FB app, how do I connect these all together?
I had tried to google how to "connect FB app to FB page". That only directed me to something about "Page Tab" at which point I found myself completely lost.

You don´t need a Page, you only need an App. Here´s where you can create one: https://developers.facebook.com/apps
After creating the App, you will see the App ID.

Related

iOS app posting to facebook but via link is not found

I am trying to figure out where I set the redirect for when a user clicks "via app" after someone post with my app. Right now when I click on my via link it tells me that the page is not found. I would like to set this link to the Facebook page I made for my app.
I have checked all the setting at my developers.facebook.com. I am thinking it is something set inside the graph api.
I had to create a page for my app. That is where it was trying to redirect to. You can create/set your page in App Details.

how to edit where facebook sends visitor after using the facebook "sign in" app

I have a site www.crazyfloridadeals.com and this is a licensed directory and it has a built in feature for "sign in" using your facebook account and in order to do this you need a developers App ID and App secret which I did set up, I got the app to work but two things need to be edited and I can't figure out how to do this,
After you use the app facebook sends the visitor to crazyfloridadeals.com/profile/#= which 404's how do I get the app to send them back to the Home page? I read every articl and forum but could not find anything - any suggestions are where to find this
When you use the facebook app it goues through the "permissions" and it asks do you want to all "my company" to post on your behalf? I don't need this as I am only looking for basic user info (just like screen shot attached) how can I adjust what permissions are being asked for?
I am new to this and am sorry if these are easy fixes
Having looked at your site, it appears that the FB login button is being passed the paramaters redirect_uri="http://crazyfloridadeals.com/members/facebookauth.php?destiny=http://crazyfloridadeals.com/profile/#="
and scope="email,user_birthday,status_update,publish_stream"
There should be a configuration screen if this is some sort of CMS for the FB login plugin. Otherwise there may be a configuration file somewhere in the code files itself. Of note, to remove the "post on my behalf" message, remove the 'publish_stream' from the scope variable. See this list for other FB permissions. You may need a FB Dev account to view it. Obviously, you will need to change "http://crazyfloridadeals.com/profile/#=" to just "http://crazyfloridadeals.com/"

How do you associate a Page with an App, now that the migration deadline is over?

Here's the situation: I have a native iOS app that had its entry in created Facebook Developers before App Profile Pages were deprecated. There is an automatically created App Profile Page for the app, but when I view it, it has a yellow box saying:
Removing App Profile Pages App Profile Pages are now deprecated. We
recommend updating any links that you have shared to your App Profile
Page to point to your new target Page or app. Please save any content
or Insights that you wish to keep. This content is accessible via the
Graph API with any valid access token. For additional information,
please review this post:
https://developers.facebook.com/blog/post/2012/02/01/how-to--migrate-your-app-profile-page/
Before February 1st, there was a link to migrate this page to a regular Facebook Page, but now there isn't. I've created a new Facebook Page according the the docs, and the page has the same name as the app and the category is set to Products/App. But I see no way to associate this new page with my app.
How are we supposed to associate a new Facebook Page with an existing app?
So I ended up deleting my app on Facebook and creating a new one. This meant changing the App ID strings in my iOS app and in its URL handler, but now it works correctly, and I can create a normal Facebook Page for the app. If you have an existing app that customers are already using, that means you'll break the app unless they've updated it on their iOS device, and you lose everything on the old page.
To associate an existing Facebook Page with an App:
Go to your Facebook Page and click "Edit Page" section
In the Basic Information tab, set Category as "Brands & Products" -> "App Page"
Make sure the Page name is the same as the App name
Go to your Facebook App "Edit App" page, and now you will be able to choose the Page as the App page.

How do I get an APP ID for Facebook on my web site?

First of all, my simple purpose is to add a Facebook login button to my web site. So I go to the login button description.
I must be thick headed, but I cannot get an APP ID. Under the "Authentication" writeup it says, "The JavaScript SDK requires that you register your website with Facebook to get an App ID (or appId)." Clicking on "Register Your Website" takes me to the APPS page. And since the login button is indicated under "Websites", I click that and it just takes me to another page that says I must register my website. I am ready to pull out what hair I have left.
What am I missing? Do I have to create a "new" app? I can't call it login since apparently that already exists.
You need to create an app here:
http://developers.facebook.com/
Click on Apps -> Create New App
Give the app a name etc the you will need to add your websites URL into the Website section.

How to launch Facebook with Button

Hey friends
I created a button on my app called: "Find us on Facebook". Right now I ran into a situation where I need the button to launch the Facebook application. I could really use some help such as launching the facebook application, detecting if there is a facebook application, and all the sorts of stuff like that, thanks
Some googling shows that the facebook app apparently registers to receive urls with the fb:// scheme. So you can construct a fb:// url (like, say fb://notes or something) and then ask the UIApplication object if it can open the URL. If it says that it can, then open it.
there is a tutorial and sample app at https://github.com/facebook/facebook-ios-sdk
Basically you need to try to call fb://profile/yourpageid to load the FB app on your page.
The sample app shows you how to do this and fall back to loading in Safari if the app is not installed on the device.