Canvas and top navigation bar in facebook - facebook

Two simple facebook developer questions that seems impossible to google
1)
Can I have a canvas (which is basically an iframe to my own web page, I hope) on a group page.
I want to add extra functionality on my fb-group. (As an example, if I had
a movie group I would like every user to be able to have a top 10-list, that is visible for all other group members)
2)
Can I have the facebook top navigation bar (including notifications)
on my own web page? I have seen it done.. .but it might be so that its not possible anymore?

Related

Why Facebook Canvas over Facebook Page Tab?

I have read up on the differences from 'setting' up the Canvas Page vs the Page Tab. I also see the Canvas page allows for interaction with notifications, bookmarks, newsfeed, timeline etc. However, doesn't a Page Tab also allow that?
I am trying to figure out in what instances would you use a Canvas over a Page Tab.
Thanks.
The main difference between apps embedded into pages and canvas apps that is the canvas apps have their own, unique URL under the https://apps.facebook.com/... domain.
The fact your app is embedded on a page or not is not necessarily in your hand because the app creator and page admins could be different people. The added integration points facebook gives you all tied to this URL. (I guess they could use your backend url directly but they wont be able to show ads there.)
You might want to choose canvas app if you need one or more of these features:
You want to use facebook platform features tied to canvas.
requests
bookmarks
apps / games dashboard
show up in search results
Want to support wide screens
Canvas pages can be configured to expand "wall-to-wall" and take advantage of users with big screens.
Want to use deep links (easily) into your app.
Deep links can be implemented on page tabs with the data GET parameter (coming down into your app via signed_request on tabs), but canvas pages get this for "free".
There's a best practice guide in docs on how to create good canvas apps.

Facebook page form

I am trying to create a form that will pop up over the top of a facebook page (not profile) when a user clicks onto that page, if the owner of the page has a specific app installed.
The popup would require the user to dismiss the popup/complete the form before they could interact with the page.
Apparently this used to be possible, does anyone know how to go about doing this now?
I suspect what I am after is a custom dialog that can be triggered on page load. Is such a thing possible in facebook?
This will not be possible. Facebook Pages no longer have what were called "Default Landing tabs" which would direct non-fan users to a particular tab app. Even then, this kind of popup behaviour would probably have been undesirable for users, possibly prohibited by Platform policy and likely blocked by most users browsers.
You can still create a Page tab app that can be gated behind any kind of restriction that you wish, however the regular Page content will still be visible to any user.

I have a facebook page for my site, and now added an APP but that also has a page and a wall can I combine them?

I have a facebook page for my site that was created a while ago. And now added an APP for authentication to my site, but that also has a page and a wall can I combine them?
Application profile pages are tied to each App Id, and are separate to any existing page for your brand. There's no way to merge them, but many developers change the settings on their App's profile page to disallow posting, hide various tabs, etc.
You could then add a static HTML tab to the app profile page which directs users to your existing page, and set that tab to be the default landing tab for users who arrive at the page.
This is one of the confusing things about the platform. There are two separate pages for the same thing. I started getting a lot of likes on the app page, so it seemed to go with that over a regular page, but the app page exists out of the system of business pages.

Do I need to create a new Facebook app for each app tab on a page?

I recently made an app so i could have an iframe tab on my page. i want to add another tab with an iframe. Can this be done with the same app?
Can i determine which tab a request came from? Its going to be different content under each tab.
I want to keep it the same app so users will not have to grant permissions for a second app.
No, you can only define one tab per app. You can configure that tab to display different content for different pages, but you cannot install more than one tab to a page using the same app. You'll have to create multiple apps, but you should be able to point them at the same codebase and determine which app is requesting content to serve the proper tab.
Regarding permissions, I'd work it so that you don't do any authentication from the tab itself but instead you link them to the same installation endpoint.

Facebook API: how to show 'add-to-page' dialog box inside the canvas app

I want to give ability to users to add the application in their fan pages directly from the canvas application.
Earlier there was a method (fb:add-to-profile) for adding application in user's profile tab, but now its no longer supported by facebook.
So, I am looking for similar kind of things for fan pages, either by using FBML or programmatically.
There are new Graph API methods that let you programatically add tabs to pages.
See the 'tabs' connections here:
http://developers.facebook.com/docs/reference/api/page/