Skip to content

Commit

Permalink
Added photo example
Browse files Browse the repository at this point in the history
  • Loading branch information
aogilvie committed Dec 1, 2014
1 parent 151feda commit de883f8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,21 @@ Using the graph api this is a very simple task:
function (error) {
alert("Failed: " + error);
});

### Plublish a Photo

Send a photo to a user's feed

```
facebookConnectPlugin.showDialog(
{
method: "feed",
picture:'https://www.google.co.jp/logos/doodles/2014/doodle-4-google-2014-japan-winner-5109465267306496.2-hp.png',
name:'Test Post',
message:'First photo post',
caption: 'Testing using phonegap plugin',
description: 'Posting photo using phonegap facebook plugin'
},
function (response) { alert(JSON.stringify(response)) },
function (response) { alert(JSON.stringify(response)) });
```

0 comments on commit de883f8

Please sign in to comment.