Click here to Skip to main content
12,695,049 members (29,076 online)
Rate this:
Please Sign up or sign in to vote.
See more: MVC3 Facebook-API
I've implemented FB timeline integration,i've posted successfully on timeline using below code:

FB.api('/me/_recpbox:cook', 'post', { recipe: '' }, function (response) {
if (!response || response.error) {
} else {
alert('Post ID: ' +;

here the URL comes from fb app settings,(The Open Graph Dashboard page has a 'Get Code' link next to your action)

I have to give my own path and Image,currently the image appearing is the one i've set for my app,can any1tell how can i give my own URL and Image. i have tried givinga my website path but it says:
Object at URL has og:type of 'website'. The property 'recipe' requires an object of og:type

Or can any 1 provide me sample code of this(I've read this[^] article)
Posted 18-Apr-12 0:44am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170118.1 | Last Updated 18 Apr 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100