Facebook applications and WP7 - facebook

I need to perform facebook post into the user wall from wp7 (but without using the nice built-in ShareLinkTask of mango, please don't ask me why, its a requirement).
So, lets say I must do it as I was in Wp7 before mango, the only way available I found, is based on building a facebook application and using that applicationId with the facebook sdk.
It works but I need to use an ad-hoc or a company account to create the app, I was not able to do both, it seems that comapny account cannot create apps, ad-hoc account are prohibited.
Is there a way to create a facebook app withouth using a personal account ?
Is it really necessary to create a facebook app to make a wp7 app post to facebook (without using the ShareLinkTask of mango).
thanks to all

There is no other way to post on somebody's wall. You have to use the SDK and to register your app on Facebook because the user has to explicitly authorize your applications to post on his wall.
Even if you post a message from the built-in Windows Phone features, you'll see on Facebook that the message has been posted with the application Windows Phone. And you can retrieve the settings of that application in your facebook account settings:

Related

Manually built OAuth login flow, which platform to specify in the Facebook App details

I want to provide the ability for my users to log-in to my app using OAuth providers like Google, Facebook, etc. For those purposes, I've built a unified OAuth login system that involves my server, based on instructions like this: Manually Build a Login Flow. From my users' accounts, I need only default permissions plus e-mail, with those permissions I've publish my Facebook app, and review was not required.
Today I've received a message from Facebook where I was asked to specify my Facebook app platforms, and this is where the problems begin. All provided but Facebook platform templates are not quite suitable for me:
currently, I'm using my system on the mobile app, but it is pointless to specify my package ID or provide some hashes because the app is not using Facebook SDK and those data will never be, received by Facebook
also, it is not correct to give the Facebook just my website URL it doesn't use Facebook login buttons or so, for log-in process communicates only mobile app and back-end
So, here my question.
Which platform I need to specify in my Facebook App if I've used instruction Manually Build a Login Flow to build my log-in flow.
Any ideas? May be someone have experience with this?
P.S. my app built on Flutter.

Facebook SDK capabilities WP8

I am integrating facebook in WP8 app for login,Post on wall(Share),Invite friends.
Here I am using Facebook SDK for .Net
Using SDK's capabilities I am able to do login using In app browser, Post on wall(Share).
I user me/taggable_friends GRAPH API for getting friends list as me/friends returns only those friends who are using our app.
My app is not Game App so I can't use invitable friends API.
My Question is: How to invite friend?
If its not possible, Can anyone tell me the official list of possible things with facebook sdk on windows phone 8 except this.
UPDATE: I am able to send app request using this link, but not seen any request came on receiver's facebook account.
Thanks,
Replies are really appreciated.
I had similar problem and I used this method which works for me
Use a WebBrowser control and set the Url as
Uri inviteUri = new Uri("https://m.facebook.com/dialog/apprequests?app_id={app_id_goes_here}&message=YOUR_MESSAGE_HERE!&redirect_uri=https://apps.facebook.com/{app_id_goes_here}/", UriKind.RelativeOrAbsolute);
From this you can search for your other friends who are not using the game yet.
Hope this works for you too.

Should Facebook canvas apps behave same if opened from original non-canvas site url?

This is a first time I am trying to make a facebook application/game, and I have couple of questions.
Let's say canvas url is http://mysite/first_app/ and facebook app url is https://apps.facebook.com/first_app
I wonder if visited both url-s should a functionality be the same? I mean does facebook give you more tools and freedom if navigated from https://apps.facebook.com/first_app? Or should both url-s look and do the same thing? Is it possible?
I wonder if visited both urls should a functionality be the same
Of course yes. The difference is just that one is deployed at the facebook's app center and the other at your domain.
Yes, you have more tools available in the canvas ("apps.facebook.com.."), as it will send you the user-id without any user consent. Has the user previously used your app, you will also be able to get their accesstoken and fetch more info about them.
It requires some backend code to decode the signed request parameter, which provides you this stuff.
This example is how php handles signed request:
https://developers.facebook.com/docs/facebook-login/using-login-with-games/
If you're using C#, download the Facebook C# (available through NuGet, the package from Outercurve Foundation) and use this example:
How do I parse a signed request in Facebook C# SDK?
I try to handle the user in Facebook context whenever possible. It adds trust and more tools. Although since the Facebook phone/tablet app (App Store/Google Play) doesn't support Facebook apps at all, I often optimize the app for mobile web use also. I read somewhere that over 50% of daily Facebook visists are done using the phone app, so it might be something to think into your app while developing.
UPDATE:
I can see I have misunderstood part of signed request, as commented by Shadowfax and CBroe. In my app, I use the user id from signed request but of course only when the user has already logged on to the app beforehand. My apologies.

iOS 5 Facebook Integration

I am writing an app and for the first time I want to integrate some Facebook SDK functionality. I want to have the user login to their Facebook account, then be able to choose one of their friends to "compete" against in the app.
I am following the instructions on the Facebook developers site for iOS but what I can't seem to figure out is how to present a "login with Facebook" view when the app is launched and then never again while the Facebook SSO is authorized or unless the user logs out of the app.
The example I'll use for this is like the DrawSomething app's workflow for authentication.
Any ideas of how to accomplish this? Tutorials or examples would be awesome! I am using iOS 5 with storyboards for the app if that makes a difference.
Thanks!
-Brian
First authenticate :
Facebook API/SDK integration

Connect to Facebook using Facebook app on iPhone

How to connect to Facebook using the downloaded Facebook app, and not the embeeded Facebook connect. This is done for example with Rockmelt app.
What seems to be done, is to launche a third party app using the url like (fb:some paramaeters) and having a callback url with your app (myapp://authentification parameter ).
The interest of this is that if you are already logged on facebook, you just need to approve or not your app.
What is missing, is what are the parameters to acheive this with the downloaded facebook app.
Just use the supplied Facebook Connect library as it handles all this for you. FBConnect by default will use single sign on either via the browser or the facebook app if already installed.
You can examine the source code of the FBConnect library to see how this is done if you wish, but I'd suggest that re-inventing the wheel is perhaps not the best way to go.