@@ -252,26 +252,6 @@ public static String handleError(FacebookRequestError error)
252
252
return errorMessage ;
253
253
}
254
254
255
- // clang-format off
256
- @ Kroll .getProperty
257
- @ Kroll .method
258
- public boolean getCanPresentShareDialog ()
259
- // clang-format on
260
- {
261
- Log .w (TAG , "The getCanPresentShareDialog property is deprecated. This always returns true." );
262
- return true ;
263
- }
264
-
265
- // clang-format off
266
- @ Kroll .getProperty
267
- @ Kroll .method
268
- public boolean getCanPresentOpenGraphActionDialog ()
269
- // clang-format on
270
- {
271
- Log .w (TAG , "The getCanPresentOpenGraphActionDialog property is deprecated. This always returns true." );
272
- return true ;
273
- }
274
-
275
255
@ Kroll .method
276
256
public void requestWithGraphPath (String path , KrollDict params , String httpMethod , final KrollFunction callback )
277
257
{
@@ -540,13 +520,8 @@ public void setPermissions(Object[] permissions)
540
520
}
541
521
542
522
@ Kroll .method
543
- public void initialize (@ Kroll . argument ( optional = true ) int timeout )
523
+ public void initialize ()
544
524
{
545
- // Variable `timeout` is not used
546
- // When not set, timeout is -1
547
- if (timeout >= 0 ) {
548
- Log .w (TAG , "Property `timeout` is deprecated. It is not used." );
549
- }
550
525
callbackManager = CallbackManager .Factory .create ();
551
526
facebookCallback = new FacebookCallback <LoginResult >() {
552
527
final KrollDict data = new KrollDict ();
@@ -766,24 +741,9 @@ public void onSuccess(Sharer.Result results)
766
741
Mode mode = Mode .AUTOMATIC ;
767
742
768
743
String link = (String ) args .get ("link" );
769
- String title = (String ) args .get ("title" );
770
- String description = (String ) args .get ("description" );
771
- String picture = (String ) args .get ("picture" );
772
744
String placeId = (String ) args .get ("placeId" );
773
745
String ref = (String ) args .get ("ref" );
774
746
775
- if (title != null ) {
776
- Log .w (TAG , "Ti.Facebook.presentShareDialog.title has been deprecated as of the Graph v2.9 changes." );
777
- }
778
-
779
- if (description != null ) {
780
- Log .w (TAG , "Ti.Facebook.presentShareDialog.description has been deprecated as of the Graph v2.9 changes." );
781
- }
782
-
783
- if (picture != null ) {
784
- Log .w (TAG , "Ti.Facebook.presentShareDialog.picture has been deprecated as of the Graph v2.9 changes." );
785
- }
786
-
787
747
switch (TiConvert .toInt (args .get ("mode" ), TiFacebookModule .SHARE_DIALOG_MODE_AUTOMATIC )) {
788
748
case TiFacebookModule .SHARE_DIALOG_MODE_NATIVE :
789
749
mode = Mode .NATIVE ;
0 commit comments