ianlee-dev / facebook-java-api

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

feed_publishUserAction only displays feed title and does not display no short story and image #200

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. When I invoke method below, only title of the feed appears. The short 
story or image does not appear. Any solution?
faceClient.feed_publishUserAction(bundleId, templateData, images, 
targetIds, bodyGeneral, storySize);

What is the expected output? What do you see instead?
The feed title, image, and short story should appear

What version of the product are you using? On what operating system? 2.1.0 
and my OS is linux

Please provide any additional information below.
See code detail below:

            HashMap<String, String> templateData = new 
HashMap<String, String>();
            templateData.put("ad_title", "<a target=_blank 
href='http://www.domain.com'>just testing.</a>");
            templateData.put("ad_description", "<a 
target=_blank href='http://www.domain.com'>testing detail</a>");
            FeedImage image = new 
FeedImage("http://www.domain.com/image_06.jpg"), "http://www.domain.com");
                ArrayList<IFeedImage> images = new 
ArrayList<IFeedImage>();
                images.add(image);
            faceClient.feed_publishUserAction(bundleId, 
templateData, images, null, null, 200);

Original issue reported on code.google.com by eokw...@gmail.com on 30 Apr 2009 at 12:38

GoogleCodeExporter commented 8 years ago
You don't say where you're expecting it to the short story or image to appear. 
My 
guess is that the feature is working fine but that your news feed in Facebook 
set to 
show single line stories only?

Does it say anything useful about your application here? 
http://www.facebook.com/editapps.php

Original comment by david.j....@googlemail.com on 6 May 2009 at 7:03

GoogleCodeExporter commented 8 years ago
Where exactly do I indicate to display short stories in my application users 
pages? I 
checked the link you sent and there is no mention of short stories.

thanks

Original comment by eokw...@gmail.com on 6 May 2009 at 12:24

GoogleCodeExporter commented 8 years ago
I have use the method publishUserAction()

client.feed_publishUserAction(bundleId, templeteData, null, targetIds," test", 
4)

 and the feed appear only in my wall instead of on my friends wall. and it's just
appear only title, not short or full stories.

thanks

Original comment by thanh.ki...@gmail.com on 8 May 2009 at 2:09

GoogleCodeExporter commented 8 years ago
I am also not possible to send the updates to all the friends. It send the 
updates to
only my wall..!

Original comment by akshatvig19@gmail.com on 14 May 2009 at 7:44

GoogleCodeExporter commented 8 years ago
I am having the same problem as mentioned by "akshatvig19". When I publish feed 
with:

facebook.feed_publishUserAction(templateID, null, frinedIDList, null);

the feed gets published on my profile only, but not on my friends' walls. 
earlier it
used to work properly, but now it seems there is some problem with feed 
publishing.

FYI I am using facebook api 1.8 final.

Original comment by soumya.t...@gmail.com on 16 Jul 2009 at 9:27

GoogleCodeExporter commented 8 years ago
Im having the same problem :(

Original comment by sharpen....@gmail.com on 9 Aug 2009 at 12:09

GoogleCodeExporter commented 8 years ago
I think this is Not A Bug now since the stream rollout in July I think it was. 
My
understanding is that the API cannot automatically publish short stories or full
stories without a special new permission that you have to request (via the 
javascript
API):

http://wiki.developers.facebook.com/index.php/Extended_permissions

I figured users would by-and-large not be willing to do this, so I instead show 
a
form on the client using showFeedDialog:

http://wiki.developers.facebook.com/index.php/JS_API_M_FB.Connect.showFeedDialog

This is an FB Connect function, but I believe there is an FBML version.

Original comment by jamie.doornbos on 27 Aug 2009 at 5:34

GoogleCodeExporter commented 8 years ago
Hello Friend i need publish feed on my own wall , please give me code , 
everyone have
code plaese send on my email id my id is dinesh.awa@gmail.com
thanks

Original comment by dinesh....@gmail.com on 29 Sep 2009 at 11:05

GoogleCodeExporter commented 8 years ago
deprecated method will go away anyhow.

Original comment by fern...@gmail.com on 29 Oct 2009 at 11:57