Does a Facebook game HAVE to be a canvas app? - facebook-graph-api

I would like to build a small website which features a gaming element using FB login and Open Graph.
If I wish to use the Achievements API, Scores API and timeline aggregations reserved only for games, does my "website" HAVE to operate within the FB canvas?
Can I declare a FB app as a "website using facebook login", but place this in the "Games" app category?
Ideally I would like to use my own domain outside of FB canvas. Reading the developer documentation this is unclear.
Many thanks.

Facebook app is just a website ! You can design the website/app and deploy it in your domain. Then create a new facebook app and just fill the details of your domain in the CANVAS URL . That's it. You can choose your own unique facebook app URL when you create a new app in facebook.
How it works is, when the users goes to your app in facebook Ex- apps.YOUR_APP_NAME.facebook.com , facebook will redirect only the CANVAS area of the App to your domain.

Related

Fetch users media using the new Instagram Graph API on WordPress

Soo.. with the new changes that Instagram and Facebook have brought upon us, it has made it more complicated to have a module displayed on our website to just show the images from a user's feed.
Long Story:
Below, are the things that I have already accomplished:
- Create a Facebook page and link Instagram account (Completed)
- Create an Facebook App (Completed)
- Create a Business Manager page (Working on verifications)
I want to be able to display a users profile images depending on the username that is set in a custom field type on WordPress Admin Panel.
Questions:
Since we own all of our corporate IG accounts, do I have to implement Instagram/Facebook login to display user's feed items?
Is there a way to bypass this?

facebook share button is not showing the image

I am currently creating a facebook app and I need to create a facebook share button.I used facebook share button social plugin and setup the meta tags.image with meta tags
my app genarating images using app users facebook id.I am using a session to get the app id to my page.
It's working fine in image src tag.but not in og:image.
img src image
I used sharing debugger it's only reading the url untill the "http://www.koombiyocharacter.me/joined_images/joined_image" but not variable i got from session.not with the session variable
I need to share with the image.now it shares without the image.Can I find a solution for this with php sdk?.Shares like this
How Can I solve this problem.I am new to facebook app development.

How to use open graph in facebook APP page

I have a facebook app, in which I am opening my website's pages. I want to use open graph in this app. what I mean is this:
user can see all pages and can post as a open graph. When any user's click on ticker link on facebook, it should open into my facebook app. (similar like social reader app).
Please tell me is it possible?
Use fandjango to deal with the authentication for your canvas app and then use facepy (by the same developer) for interacting with the Graph API
Use Fandjango for authentication and facepy for graph api.

Developing a Facebook app that will appear in Facebook pages

I want my Facebook app that I'm developing on, appears as an iframe in several fan pages that I have on Facebook.
is this possible to place a facebook app on a Facebook fan page iframe?
if so will my users need to approve my app on each page or will one-time approval for the app will approve it for him in all my fan pages?
Yes this is possible, please refer to Page Tab Tutorial and Apps on Facebook.com documentation for details on how to do this
User only need grant access to application once, on other Pages same application will get all user details (This isn't required, if you application doesn't need user identity to work, you can skip this at all)...
Facebook grants permissions by app id, so no matter how many pages you put that app in, it will only ask for perms on one page.

Can I create a facebook app automatically(from a java program) using any api from a java program or servlet?

I am searching for an automated mechanism to create a facebook app from my java program/servlet.
Usually, I have to go to developers.facebok.com, then click the "Apps" link at the top, then hit the "Create new App" button and create an app by providing the site url etc.
I am having a requirement where a user enters his facebook id in my site and hits the "Create App" button. My site will authenticate with facebook using OAuth 2.0 and will have to create an app in the users account. The app generally points to the user's profile page of my site.
Is it possible to do this? Can any one help me?
Thank you all in advance.
In short, no you can't. You have to verify that you are a human when you create an app, and facebook intentionally do not provide a way to programmatically create apps.