How to get App ID for an existing facebook page? - facebook

I have the following case:
My client already has a facebook page with timeline and a decent amount of likes.
My job is to integrate facebook comments and facebook like to their website. For this I need an App ID, which I can easily get by creating a new app on developers.facebook.com
What I want is to somehow connect this app to the client's page so;
it shows up on their insights report
maybe likes and interactions get connected to the client's page instead of an app
I have already spent many hours trying to get this to work, but I don't yet see a way.
I can imagine that when I create a new App and then add a page to that app I have them connected. Though my client's company isn't an "app", it's a real-world business. Also, this way my clients loses all their likes on their current page.
Please help me figuring out the right way to do this.
Thanks in advance.

If you have a Pretty URL, you can go to http://graph.facebook.com/{yourpagename}. The App ID of the page will be right there at the top. If you do NOT have a Pretty URL for the page, the App ID of the page is the number at the very end of its URL.

There's no way to link an existing app and page (by 'link' i mean mark the page as being the page which represents that app) - you can of course install an app on to your page as a tab, or use an app to manage the page and post updates, etc, the documentation for both of which is on the main developer site

Login to your page >> Click on Settings > Click on Apps from left panel > Select your page app >> Go to the bottom
Here you can find User ID

Related

One Facebook app multiple users

I'm thinking of a facebook app that fetches a website's content (already developed with my own web builder) and display in a custom facebook fan page format. Clients already using the Web builder will only have to add the App to their fan page and they have their website's content already plugged into facebook.
The problem I'm having is knowing how exactly to automate this process. I can't seem to find the "Add app to page" menu when you click the Gear Icon, and the link below gives an approach I can't be explaining to every client (video further down in the link)
http://onlinewealthpartner.com/add-facebook-application-fan-page/
My head might swirling from everything I've read so far, but I'm just easing into the facebook app development. Help/insight would be much appreciated.
If I understand, your central problem is to make it as user-friendly as possible for your users to add your app to their fan pages?
Bottom line is they would need to visit the link mentioned in your tutorial:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&display=popup&next=YOUR_URL
However, since you're the one creating the Facebook Tab Application, then you would already have and could supply to your users the "app_id" and "next" parameters, so all they would need to do is click on the custom link you provide. You could even give them a button in your web builder. Your users would just click a button, go to this link, and pick their fan page in a drop down menu.

How to get app title/link directed over to a website?

You know the publishing apps on Facebook: "Published via ____".
I've see a few times where when you click on the app name, it goes directly to the provider's website? (For example, if I clicked on it, it would direct to www.mywebsite.com)
For the life of me, I can't figure out how they make that work. Can't find a setting in the developer app.
Any ideas?
Thanks!
This is just done via a facebook page or application. If you create the facebook application, and post content via the application, it will automatically show the "Published via ..." at the bottom.
What it does is redirect you to the application page (so FB can track the number of clicks) then it will auto redirect to the website url page specified in the application settings.
Here is a tutorial

no way to create / register first application

I tried to create my first app.
I went to https://developers.facebook.com/ and clicked on 'applications'.
Then facebook redirected me to my facebook page. There was NO button to '+add an application' and no form to ask me if I needed 'something' to create the application.
I added a valid credit card because it's mandatory to get a 'developer' status.
How I can add an application to facebook. Is there a way to ask their tech department?
(edited)->
Also if I click on https://developers.facebook.com/apps it redirects me to my facebook page WITHOUT a window to 'Request for permision'
<-(edited)
Here you will have a button to add New App, a popup should appear to write the New App's name. I can see in your post you don't get this popup, but it is where you need to go. So try using this link on your Personal Account not your pages account, just like DMCS is saying.
Here you should get a couple of more links, and there's a how to link that might help.
<---edit--->
Here you can find a fast track to build a facebook app. Not sure if it's what you want, but it might help in some parts of the process.

Difference Between Facebook App Page and Facebook Page

I have created a Facebook page for our business, and I created a Facebook App to get a AppID in order to use it in the Facebook plugins.
I've noticed that a Facebook App has a page which looks the same as a Facebook Page.
Which one should I use for promoting to the public? The App Page or normal Page?
You should be promoting your business page. That's what people will be searching for.
Essentially, all objects within the Facebook sphere are represented by a Page. Your app gets one of it's own which, if you were so inclined, would mean you could use it to promote your application. I would also recommend locking down your application's Page so the wall doesn't get filled with spam and other dubious and possibly malicious links. You can do this in the Page settings.
Promote the normal page(www.facebook.com/pages/yourpagename). The application page is where you would promote the application you built but it sounds like you just need a appid.
A significant difference between an app page vs a normal page: the app page does not show the number of people who 'like' it. It shows the number of MAU instead.
You have to promote the normal Page. In the normal page you can add a tab that link your application.
One other bit of information: If you create an ad in facebook which links to your page then it will have a like button and will show the current number of people which like your page when it is served to people.
If you have an app then it will not have the like button, but if people use your app then when an ad is served to someone that has a friend that used the app they will see a social context in the ad 'jonny B used(or played if a game) your [app/game name]' at the bottom of the ad.

How do I create a Facebook application for use only on page tabs?

I'm currently creating a very basic Facebook application and I've run into a bit of a roadblock, so any help would be appreciated.
My application is as follows: I want to have the application pull records from my database that the user has added to my site off of Facebook and display them in a tab on one of their fan pages. Everything the user could add or edit will be done on my site (not on/through Facebook) so all I need to do is have my application check which page is requesting and display their records. I imagine the install will go something like this: user signs up on my site, user adds app to their page, user links their account and fan page (thinking of the best way to do this), user adds records.
The problem I'm running into is there's barely any information on the new Facebook PHP-SDK (does not use the require_login() method) and I'm not really sure how to start. Again, the only functionality I need on the Facebook end is for them to be able to add my application to their fan page and be able to distinguish between which page is requesting my app.
Does anyone have any resources for creating a basic application with the new SDK? Facebook's dev section is absolutely no help for beginners and I'm pulling my hair out despite a pretty solid grounding in backend development.
Thanks!
tab apps have some limitations comparing to regular fb apps. You can read about those here.
How to make a tab - register a facebook app, fill out "Tab Name" and "Tab URL" fields in the profiles settings (you might need to fill out "canvas" settings first).
Now all tabs will be loaded from "Tab URL" on your server. How to find out who is tab owner - check for fb_sig_profile_user request parameter in your tab page handler, which contains owner's user id.
This should get you started.