Bugs: Browse | Submit New | Admin

[#19870] [PATCH] Facebooker::Parser::PublishStoryToUser has out of date xml element name

Date:
2008-04-30 20:49
Priority:
3
Submitted By:
Ben Munat (yukster)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
[PATCH] Facebooker::Parser::PublishStoryToUser has out of date xml element name

Detailed description
Tried using user.publish_story and was always getting false as result, even though the stories were showing up in my
news feed. Took a look at the xml coming back from facebook and discovered that it now has a child element with the
1 or 0:

<pre>
<?xml version="1.0" encoding="UTF-8"?>
<feed_publishStoryToUser_response 
		xmlns="http://api.facebook.com/1.0/" 
		xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
		xsi:schemaLocation="http://api.facebook.com/1.0/ http://api.facebook.com/1.0/facebook.xsd"
list="true">
	<feed_publishStoryToUser_response_elt>1</feed_publishStoryToUser_response_elt>
</feed_publishStoryToUser_response>
</pre>


I'm attaching a patch for making this response parsing work. However, someone may want to go through and check the other
calls to see if any others have changed.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
facebooker_publish_story_patch.diff patch for Facebooker::Parser::PublishStoryToUser Download

Changes:

Field Old Value Date By
File Added3660: facebooker_publish_story_patch.diff2008-04-30 20:49yukster