Find Jobs
Hire Freelancers

Facebook FBML Help

$30-100 USD

Cancelled
Posted about 13 years ago

$30-100 USD

Paid on delivery
I have an application on facebook which has been running smoothly for the past 12 months, however today, it has stopped working due to and offset error as seen below: **Fatal error**: Cannot use string offset as an array in **/home/username/public_html/application/[login to view URL]** on line **23 ** I have checked the code and have found it to be in the following: // Get user details from facebook $get_name="SELECT name, pic_square FROM user WHERE uid = '".$user_id."'"; $get_name_result=$facebook->api_client->fql_query($get_name); $user_name=$get_name_result[0]['name']; $profile_pic=$get_name_result[0]['pic_square']; The error is in this line: $user_name=$get_name_result[0]['name']; If i remove the "[0]" the page loads but the data requested isnt sent which is causing the application to break. I need you to tell me how to fix this issue so the user data requested is displayed when called from my application. This is an urgent job, and i will be selecting a bidder in the next hour.
Project ID: 3225759

About the project

1 proposal
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $13 USD for this job
User Avatar
See private message.
$12.75 USD in 14 days
5.0 (1 review)
0.6
0.6

About the client

Flag of AUSTRALIA
Brisbane, Australia
5.0
111
Payment method verified
Member since Jan 30, 2008

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.