novellino
novellino

Reputation: 1069

Problem with post a picture in Facebook Wall with Graph API

I am using the Graph API for Facebook in order to post a message and a picture through my application to the user's wall. I use this one:

$facebook->api('/me/feed', 
               'post', 
               array( 
                 'access_token' => $token, 
                 'message' => $message, 
                 'caption' => $caption, 
                 'description' => $description, 
                 'picture' => $picture, 
                 'cb' => ''
                )
              );

This works fine for around 4-5 months now. Suddenly I cannot post the picture. I haven't changed my code at all, but now I cannot see the image that is supposed to be posted.

I really don't know what is the problem. I would really appreciate any help!

Thanks in advance

Upvotes: 0

Views: 2765

Answers (2)

Eddie
Eddie

Reputation: 41

The feed will only allow you to upload small images. Try a small image, if it works your probably need to post as image instead of wall post.

Upvotes: 1

Love Sharma
Love Sharma

Reputation: 1999

May be you need to use rawurlencode to pass google chart api url. As that consist of many special characters.

Upvotes: 1

Related Questions