dangtranduc / facebook-java-api

Automatically exported from code.google.com/p/facebook-java-api
0 stars 0 forks source link

feed_PublishTemplatizedAction with pictures #254

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
TemplatizedAction act = new TemplatizedAction("{actor}" + title);
act.setPageActorId(pageId);
act.setBodyTemplate(bodyTeamplate);
act.addPicture("http://code.google.com/hosting/images/code_sm.png", 
"http://www.google.com");
success = client.feed_PublishTemplatizedAction(act);

What is the expected output? What do you see instead?
"Feed story photos could not be retrieved, or bad image links were 
provided"

What version of the product are you using? On what operating system?
facebook-java-api-3.0.0-SNAPSHOT.jar
facebook-java-api-schema-3.0.0-SNAPSHOT.jar
Windows

Please provide any additional information below.
I don't understand why I have this exception.
I check the validity of the image link and it's good...
I also read an issue from another person on this subject but I didn't find 
any solution to the problem. (issue 74)

Sorry for my bad english,

Regards

Raphael,

Original issue reported on code.google.com by pi.r...@gmail.com on 16 Oct 2009 at 2:53

GoogleCodeExporter commented 9 years ago
It's seems I have this problem because I used 
facebook-java-api-3.0.0-SNAPSHOT.jar
facebook-java-api-schema-3.0.0-SNAPSHOT.jar

now I'm using the facebook-java-api-schema-2.1.1.jar and 
facebook-java-api-2.1.1.jar

sorry for this useless issue

Original comment by pi.r...@gmail.com on 16 Oct 2009 at 3:12

GoogleCodeExporter commented 9 years ago
deprecated method, will go away anyhow

Original comment by fern...@gmail.com on 30 Oct 2009 at 12:01