We are coding a facebook app that creates a post on people's Walls when they enter the competition. We're having a problem with the contents of the post that is being created.
The status message and link are functioning as intended however the picture, name, caption and description are instead being grabbed from the page that the post is linking to.
This is the code we're using to post to people's Walls:
$facebook->api("/me/feed", "post", array(
message => "I've just chosen my kangaroo to win a ticket to the Caravan, Camping and Off-Road Sale at the Adelaide Showgrounds (August 2-5). Be quick, there are only 1000 tickets up for grabs! Just click the link below.",
picture => "http://gmbo.com.au/hosted/cca/pak/app-icon.png",
link => "http://www.facebook.com/pages/WEIM-Sandbox-2/241942125896015?sk=app_416990981685156",
name => "CLICK HERE",
caption => "If you love caravans, camping or outdoor recreation - you'll love this Show.",
description => "If you love caravans, camping or outdoor recreation - you'll love this Show."
Any help would be hugely appreciated, this Facebook API stuff can be pretty frustrating.
Thanks