facebook c# SDK in Windows Store app LoginButton will not render in Designer - facebook

I am using VS2013 following the tutorial facebooksdk login-ui-control once I get to step 9 my Design view does not render and if I hover over facebookControls:LoginButton in the XAML I show an error "ResourceMap not found"
I am using
Facebook C# SDK Version: 6.0.10.0
Facebook SDK for Windows & Windows Phone Version: 0.8.5.0

I've had the same problem.
Facebook SDK version 6.4.2
Facebook.Client version 0.8.5-alpha
targetFramework win81
but after first F5 the control starts working OK. Seems *.PRI files did not load correctly. see http://blogs.blackmarble.co.uk/blogs/jfowler/post/2013/07/15/ResourceMap-Not-Found-Exception-message.aspx

Related

Getting started with Facebook SDK 7.9.4 in Unity

I'm having trouble getting started initialising the Facebook SDK in my project.
I downloaded the Unity 5.5 beta from here:
https://developers.facebook.com/docs/games/gameroom
This beta includes Facebook SDK 7.9.4
So if I skip past the manual install and go to the initialise step on this page:
https://developers.facebook.com/docs/unity/examples
And I start with
using Facebook.Unity;
I get an error:
the Facebook namespace cannot be found.
How do I get the namespace working so that I can begin using the SDK? I have been searching the web for help all morning and coming up empty. Every tutorial I have found is based off installing the old version sdk manually, but this conflicts with the latest version and only causes more errors.
What IDE do you use? VS15?
Try to switch on MonoDevelop or Rider, this problem was solved for me. For some unknown reason the reference on Facebook.dll wasn't added to Visual Studio project.

Worklight Facebook platform selection?

For Facbook integration in Worklight which platform should we select Android or Website
,
right now i am developing for android environment but later i will be doing for iphone and windows as well
Also were do i place the Facebook integration code in index.html(main) or in android project which is separately created ?
i am confused do reply
It looks like you are developing a Worklight-based Hybrid application, so in this case you should actually opt for the Facebook JavaScript SDK.
You can add it to your common\js folder and reference it in the common\index.html (just follow the instructions Facebook probably provides). This way you could easily 'extend' it to whichever additional environments you will add in Worklight Studio in your project setup.
Of course, you can also choose to use Facebook's native SDKs for each environment in your Hybrid application. In this case, you'll need to add the SDK in the iphone-ipad-or-android\native folder and follow Facebook's integration instructions (note that for iPhone the actual integration will be done in Xcode, not Eclipse).
If you choose to create a native application and bundle it with the Worklight SDK, then you should opt for the Facebook SDK dedicated to the specific OS. Here, you will add the SDK, again, by following Facebook's instructions.

Cannot get the Unity web player to load the Facebook dll

I'm trying to test my Facebook integration for a FB Canvas game that I'm working on. When I launch the player I see the following message in the console:
loading dll: /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll
Failed downloading /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll
and if I look in the apache logs I see a request for /rsrc/unity/lib/sdk_5.0/CanvasFacebook.dll
I have the same problem using the 4.3.x version of the Facebook SDK.
I'm using Unity editor 4.3 and testing in Chrome on OSX.
Am I missing a DLL or a reference in MonoDevelop?
It sounds like you hit build and run for the Unity webplayer. This launches your game in a web browser hosted off your local filesystem. For security purposes, the SDK must be running on Facebook canvas when run in a web browser. You'll need to set up a Facebook app, instructions are here: https://developers.facebook.com/docs/unity
Alternatively, you can test in the Unity editor by hitting the play button.

which version of mobile firefox in android, fully supports extension?

I made an addon to Dektop Firefox using addon-sdk. now i want to launch it into firefox mobile(fennec) in android. I am using android 4.0.3 emulator. I have installed mobile firefox browsers(almost all versions) in it. im trying to install my addon to mobile firefox using addon-sdk. in this step i am getting different types of errors.
1.some addons installed with disable mode, but not working enable/disable option.
2.for some addons, i am getting "addon installed,restart required" option, but after restart, addon not visible in addon manager
please, provide atlesat one working way, to develop and install firefox addons(any simple) in fennec(any version) in andoid (any emulator/any mobile).
Thanks,
You are asking the wrong question. Any version of Firefox Mobile supports extensions, no problems here. However, its user interface is very different from the desktop Firefox which means that extensions built for the desktop Firefox usually won't work without adjustments. So the correct question would be:
Which version of the Add-on SDK supports Firefox Mobile?
You need Add-on SDK 1.5 or higher. When running cfx you will have to use --force-mobile command line flag to make sure that your extension is marked as compatible with Firefox Mobile. There will still be limitations however, most SDK modules currently don't support Firefox Mobile. Add-on SDK 1.8 lists the following modules as supporting Firefox Mobile:
page-mod
page-worker
request
self
simple-storage
timers
Wladimir is correct, and I would only add that we are working on expanding module support on native Fennec. If you want to play with some additional Fennec features in an SDK-based add-on right now, you can get access to the NativeWindow and BrowserApp objects Fennec implements by using this code in a module:
let utils = require('api-utils/window-utils');
exports = {
BrowserApp: utils.activeBrowserWindow.BrowserApp,
NativeWindow: utils.activeBrowserWindow.NativeWindow
};
The documentation for these objects is on MDN:
https://developer.mozilla.org/en/Extensions/Mobile/API/BrowserApp
https://developer.mozilla.org/en/DOM/window.NativeWindow

Installing the Facebook C# SDK

I want to implement login using facebook in my windows phone 7.1 application
When I try to install Facebook C# SDK using the nuget package manager console. It is added successfully, but when I try to add the reference to my project its giving following error.
I did not write any code or anything. I just want to add the reference to facebook like using facebook; in my code behind file
I just tested this and I cannot reproduce the error.
Make sure you uninstall any old version of the SDK.
Then, right-click the project and add the SDK using nuget.
Do not install by hand.
That error message seems pretty clear - your project is set to target Windows Phone 7.1, but that version of the Facebook SDK doesn't support Windows Phone 7.1
See if there's an updated version of the SDK which supports 7.1, or target your project at a version that the Facebook SDK does support