I've downloaded the Facebook C# SDK. I'm at the point where I have a facebook token and am calling the method:
var fb = new FacebookClient(token);
I'm getting the following error:
Could not load file or assembly 'Microsoft.Contracts, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=736440c9b414ea16' or one of its dependencies
Any suggestions? I am using the .Net Framework 3.5.
Thanks
The download link is on the right side of the page:
http://msdn.microsoft.com/en-us/devlabs/dd491992
Related
Facebook sdk v3 is depreciated so i am getting issue on my live site. I cant upgrade my php version because my application does not support higher versions of php. So i need solution on current situation.
Thank you in advance.
I am posting after extensive research about the subject and hope to get an answer.
I am using ADAL for Azure authentication following the Ionic2 guide: https://ionicframework.com/docs/native/ms-adal/
In it, they define the AuthenticationContext as follows:
let authContext: AuthenticationContext = this.msAdal.createAuthenticationContext('https://login.windows.net/common');
When I run the app in the browser, immediately i get a "validation failed: undefined" error message.
Other guides define the variable as follows:
var authContext = new Microsoft.ADAL.AuthenticationContext('https://login.windows.net/common');
I couldn't import Microsoft package, so I followed the solution for this question: 3rd Party Library “cordova-plugin-ms-azure-mobile-apps” not getting recognized in my Ionic 2 app
However, now i get the error: cannot read property 'ADAL' of undefined
Any help is appreciated. Thanks in advance.
The MS AL a cordova plugin, it doesn't provider the version for running in the browser. It is required to run under the cordova environment(Android, iOS, Windows platform) instead of browser.
I would like to work with the Google Admin SDK and get information about our domain's email settings per user. I refer to Developer's Guide | Email Settings API
I am comfortable approaching the problem in Java, Python, and C# and all three languages have examples included in the documentation.
Where can I get all these libraries shown in the documentation?
C#
using Google.GData.Apps;
using Google.GData.Apps.GoogleMailSettings;
using Google.GData.Client;
using Google.GData.Extensions;
Java
import sample.appsforyourdomain.gmailsettings.GmailSettingsService;
Python
import gdata.apps.emailsettings.client
They are located here:
https://developers.google.com/admin-sdk/directory/v1/libraries
If you work through the Java QuickStart, these three imports aren't included and the provided quick start code won't compile.
import com.google.api.services.admin.directory.DirectoryScopes;
import com.google.api.services.admin.directory.model.*;
import com.google.api.services.admin.directory.Directory;
It seems the Java portion of this project is in need of an update.
Note the Maven and Gradle builds on the Java download page - https://developers.google.com/api-client-library/java/apis/admin/directory_v1 - show this error message:
This library is in the process of uploading to the central Maven repository. Please check back in a few hours.
I've seen that message there for a couple months now.
There are basically 2 kinds of APIs for Google Apps. The old style "GData" Atom based APIs and the new API Discovery Service compliant "Google APIs" (modern infra).
The Email Settings API is an old style GData API so you need the GData API client libraries.
The GData API client libraries are available for download from here:
https://developers.google.com/gdata/docs/client-libraries
I have develop a simple app to learn Django rest framework and then uploaded it into Google app engine. But each time I try to access my data it shows me "no module name rest_framework". it works ok if I dont use Google App engine and stop working if I use (both local install or deploy the codes). I am using django 1.4 and using Cloud SQL. Can anyone please tell me what might be the problem?
regards
Samin
screenshot:
A bit late but might help someone else, I was also trying to get a solution for this error then I came across this link which has all the thirdparty apps, google app engine support. It doesn't have rest_framework.
So a as a solution you will have to copy the third-party library's pure-Python source code into your application's source code.
here is a solution in detail.
Hope that helps!
I have an application that is written with the NetBeans Platform 5.5. I'm having trouble consuming a web service.
If I create a Java SE application in NetBeans, I can add a web service reference without problem.
Since my application is using the NetBeans Platform, many of the menu choices change. So, I cannot figure out how to add a reference to the web service. I've googled this topic a number of ways but haven't found any pages that deal with consuming a service through the platform. They all talk about consuming a service with a Java SE application.
Changing the application from the Platform architecture is not an option.
Here is a good tutorial for setting up a Feed Reader on NetBeans Platform. It covers some of the configuration issues for using web services
Blog with an entry about making a web services client
I'd be happy to try and give you a more specific answer if you can give information about the service you want to access.
Found this:
Create web service and client using this tutorial
Create library wrapper module for web service client (you don't need to include JAX-WS libs, only your client jar)
In your wrapper module add following dependencies (important):
JAX-WS 2.1 API
JAX-WS 2.1 and JAXB 2.1 Library (for this you have to check Show Non-API Modules in "Add Module Dependency" window)
If you try to build module after these steps it will fail telling you that your module is not friend of "path-to-netbeans"/java2/modules/org-netbeans-modules-websvc-jaxws21.jar.
Right click on JAX-WS 2.1 and JAXB 2.1 Library and choose Edit. Select Implementation Version.
from here.