public class ShareGraphRequest
extends java.lang.Object
| Constructor and Description |
|---|
ShareGraphRequest() |
| Modifier and Type | Method and Description |
|---|---|
static com.facebook.GraphRequest |
createOpenGraphObject(ShareOpenGraphObject openGraphObject)
Create an User Owned Open Graph object
Use this method to create an open graph object, which can then be posted utilizing the same
GraphRequest methods as other GraphRequests.
|
public static com.facebook.GraphRequest createOpenGraphObject(ShareOpenGraphObject openGraphObject) throws com.facebook.FacebookException
openGraphObject - The open graph object to create. Only SharePhotos with the imageUrl
set are accepted through this helper method.com.facebook.FacebookException - thrown in the case of a JSONException or in the case of invalid
format for SharePhoto (missing imageUrl)