Skip to content
Browse files

Merge branch 'master' of https://github.com/davejohnson/phonegap-plug…

  • Loading branch information...
2 parents ecba720 + 3aee108 commit a7088f4cfa4ec706c12a0eb4914edf700b7d5923 @dokterbob committed
Showing with 2 additions and 33 deletions.
  1. +2 −2 README.md
  2. +0 −31 native/ios/FacebookConnectPlugin.m
View
4 README.md
@@ -38,7 +38,7 @@ Check out the /example/www/index.html to see how it works.
Currently this plugin does not support dialogs, that is coming soon!
-The Facebook SDK (both native and JavaScript) is changing independant of this plugin. The working version of the Facebook Android SDK is distributed with the plugin and as of writing this the supported Facebook iOS SDK commit SHA1 is 91f256424531030a454548693c3a6ca49ca3f35a.
+The Facebook SDK (both native and JavaScript) is changing independent of this plugin. The working version of the Facebook Android SDK is distributed with the plugin and as of writing this the supported Facebook iOS SDK commit SHA1 is 91f256424531030a454548693c3a6ca49ca3f35a.
Android
@@ -49,7 +49,7 @@ Create a basic PhoneGap Android application. See http://www.phonegap.com/start/#
In the PhoneGap Andoroid application you will need to put the following in your /res/xml/plugins.xml file:
<pre>
-&lt;plugin name="com.facebook.phonegap.Connect" value="com.phonegap.facebook.Connect" /&gt;
+&lt;plugin name="com.facebook.phonegap.Connect" value="com.phonegap.facebook.ConnectPlugin" /&gt;
</pre>
http://wiki.phonegap.com/How%20to%20Install%20a%20PhoneGap%20Plugin%20for%20Android
View
31 native/ios/FacebookConnectPlugin.m
@@ -264,35 +264,4 @@ - (BOOL)dialog:(FBDialog*)dialog shouldOpenURLInExternalBrowser:(NSURL *)url
return NO;
}
-
-
-/*
-NSArray* permissions = [[NSArray arrayWithObjects:
- @"email", @"read_stream", nil] retain];
-
-[facebook authorize:permissions delegate:self];
-*/
-
-/*
-//get information about the currently logged in user
-[facebook requestWithGraphPath:@"me" andDelegate:self];
-
-//get the logged-in user's friends
-[facebook requestWithGraphPath:@"me/friends" andDelegate:self];
-
-//call a legacy REST API
-NSMutableDictionary* params = [NSMutableDictionary
- dictionaryWithObjectsAndKeys: @"4", @"uids", @"name", @"fields", nil];
-
-[facebook requestWithMethodName: @"users.getInfo"
- andParams: params andHttpMethod: @"GET" andDelegate: self];
-
-
-[facebook dialog:@"feed" andDelegate:self];
-*/
-
-
-
-
-
@end

0 comments on commit a7088f4

Please sign in to comment.
Something went wrong with that request. Please try again.