Does the open graph object have to be a URL of a web page??
I have an Flex/AIR mobile project and I have my Facebook Open graph
app with action of watch and object movie.
I can successfully 'Add to Timeline' by passing in say a url to a
movie title on imdb as they have a url with the correct meta tags for
open graph:
/*
var params:Object = new Object()
params.movie ="
http://www.imdb.com/title/tt0401792/";
params.action_token = fbToken;
FacebookMobile.api("/me/
video.watches",onAddToTimelineUpdateStatus,params,"POST");
*/
Can I construct my object on the fly and send them without have to
make a html page with those metatags?
/*
var myCustomMovieObject:Object = new Object();
myCustomMovieObject.type = "video.movie";
myCustomMovieObject.title = "Some Movie Yeah";
myCustomMovieObject.image = "
http://ia.media-imdb.com/images/M/
MV5BMTk5OTY4MDQ2OV5BMl5BanBnXkFtZTcwMjU1MDYxNw@@._V1._SX94_SY140_.jpg";
var params:Object = new Object()
params.movie =myCustomMovieObject;
params.app_id =fbAppID;
params.action_token = fbToken;
FacebookMobile.api("/me/
video.watches",onAddToTimelineUpdateStatus,params,"POST");
*/
I get the error "(#3502) Object at URL [object Object] has og:type of
'website'. The property 'movie' requires an object of og:type
'video.movie'. "
Any ideas?
Thanks