Developing an app for publishing various Facebook page tab apps to a user's page - facebook

I want to develop an which allows users to publish various apps to their page as tab app. What is the correct API to be used so that user can select a page and publish with few parameter. No coding required. Wanted to know what is the specific API which allows this. We will be developing industry specific apps- hence can be used as a template.
I am not a techie- but want get a general knowledge for talking to developers.

For adding Page tab application to a Page Facebook utilizes Add Page Tab Dialog. You can use the same using the JavaScript SDK or by creating the URL as documented in the link and open the link.

Related

Deep linking not working from the Facebook timeline

I am trying to enable deep linking from custom open graph stories. I have gone through the instructions listed
https://developers.facebook.com/docs/ios/app-links
Deep linking works fine when I click from the Facebook timeline to the actual story post page and then click the object button. If I click the object button on the timeline itself, the url is NOT handled and instead is open directly in the Facebook webview.
This may be because I don't have a web platform added on my App Dashboard.
Facebook documentation reads
Deep linking in Open Graph stories If you're deep linking from an Open
Graph story published from your app, you will need to go through one
more step.
...
If you HAVEN'T already added a website for this app, in the App
Dashboard, inside your app's settings, click on ''Add platform'', and
select ''Website''. Then in any of the fields (either ''Site URL'' or
''Mobile site URL''), fill in your subdomain. It doesn't matter if you
don't have a website that you're integrating with Facebook, this will
register this subdomain for use with your native app.
However, when I try to add a the url in app settings (the screenshots match those in the documentation), my open graph submission is rejected by Facebook with the note:
Your app does not qualify for the submitted platform. In the app
settings tab, please remove platforms without Facebook integration.
Canvas or page tab apps cannot redirect users, and websites must
properly integrate Facebook login.
Anybody been through this before and can lend some guidance? I am very much confused by the documentation.
The deep-linking started working on its own about a week later without any changes on my part.

Confused about App Dev process- Only trying to link to a website

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.

Putting a whole Facebook application in the timeline?

For a project, I have been asked to put a complete Facebook application inside the timeline. However, I cannot find any information about this in the Facebook reference. Does anybody know if it can be done?
I believe your client wants to use the new Add To TimeLine feature. This provides another introduction from user perspective.
As an example, this image shows Spotify, NetFlix and Nike app implementations of the new feature on the timeline:
You can implement a basic "add to timeline" functionality using the JavaScript SDK although API documentation is limited.
You can also create customized app contents and aggregate contents ("movies watched this month on Netflix") for the Timeline by integrating your app with the Open Graph. Facebook has this introductory tutorial.
Probably you talking about Page Tab application for pages with Timeline.
Read the tutorial for Page Tab applications and documentation for Add to Page dialog.
For personal profiles applications in timeline is only section dedicated to actions and activities published by application to user.

Is it possible to show a Facebook app as a Page Tab on mobile devices?

For example, the following URL shows the app in a tab:
https://www.facebook.com/just.to.get.a.rep?sk=app_203403406338325
But when on a mobile device it redirects to the mobile site and does not show the tab or even have a link to it:
https://m.facebook.com/just.to.get.a.rep?sk=app_203403406338325
I even have the application tab set as the Default Landing Tab for this page, but cannot get the pap to show for the page. Is there another format we need to develop for the App to support mobile? Ideally we would like to show the tab on iPhone app and other mobile viewing.
If you're in control of the link the user clicks on to reach your fanpage/pagetab-combination, then try adding a GET parameter ref=ts
h++ps://www.facebook.com/just.to.get.a.rep?sk=app_203403406338325&ref=ts
Apparently this prevents the redirect to the mobile version of facebook.
There's not currently any way to see App-provided Page tabs on the m.facebook.com site
Mobile web apps are supported, but they're not tied to the Page and need to be manually linked-to or bookmarked, the tab functionality simply doesn't exist now.
Currently you can develop application functions such as app authorisation but sadly no, you can't display standard iFramed tab apps, I suspect this is because of slow 3G data speeds and the fact that Facebook wouldn't want the mobile experience being any slower than it already is (dependent on external hosting etc).
Many of my larger clients are begging for it. The only workaround I use is to build an external page with the same content used in the iFrame - then you can direct users to the tab or mobile users to an external link.
https://www.facebook.com/pagename/app_000000000000000?ref=page_internal
as of now ref=page_internal is working as a work around.
You can redirect Mobile users to a specific mobile website, and have desktop users redirected to your page tab app.
Detailed instructions for doing this are available here:
https://stackoverflow.com/a/15860533/121285

Facebook, FBML: Is it possible to integrate application developed in php sdk with the Fans Page?

Is it possible to integrate application developed in php sdk with the Fans Page (Show application in Fans page)?
Please let me know the eg. how to achieve this?
Applications can be added as a tab on Fan Pages, you can't "integrate" it into the page.
The "Facebook Integration" tab of your app config has a section to define this. You'll need to specify a URL beneath your app domain that contains the content to load. This tab must be FBML-compliant (though FB plans to migrate these to iFrames).
IMPORTANT: Facebook has eliminated Tabs on user profiles. They are now for Facebook Pages only.