I got the following error when I submit content
http://www.oniva.com/upload/1356/fb2.jpg

When I try to create content, I found the Username get messed up like this:
http://www.oniva.com/upload/1356/fb7.jpg

the Username should look something like following instead of long xml tag
1310044247@facebook

When i go "Edit" in "MyAccount" it will show Username in a strange format
http://www.oniva.com/upload/1356/fb1.jpg

I suspect because I am using PHP5 and I didn't config the SimpleXML correctly, here is the directory structure:
http://www.oniva.com/upload/1356/fb8.jpg

I am using PHP5.2 + Drupal 5.8 + DrupalforFacebook 5.x-1.x-dev

Comments

chiuming07’s picture

Priority: Critical » Normal
Dave Cohen’s picture

Title: Username problem » Username problem is DFF 1.x

Hmmm looks like a bug. Probably caused by a regular expression replacement. I was trying to replace every occurrence of a facebook username with a fbml tag that displays it correctly. Obviously that replacement should not affect form fields this way.

However, I'm not using the 1.x version anymore and I recommend everyone upgrade to the 2.x version. So... If you or someone submits a patch for 1.x I'll check it in. If you can reproduce this with 2.x I'll try to fix it.

I've been told by Facebook employees that all apps should be using the newer API, and that's what 2.x uses, so I don't want to spend much time on the old API.

Letharion’s picture

Status: Active » Closed (won't fix)

Since Drupal 5 is no longer supported, I'm taking the liberty to close all FB D5 issues. Issues that haven't moved since D5 are unlikely to still be valid.