Does the “new” Facebook Marketplace have a listing API?
I doubt they will have an API for the Marketplace as it is designed as a person to person local marketplace, rather than a business to person marketplace. However, it would not be hard to build your own bot to post ads using something like nightmare.js. I looked into this a few months back and … Read more
Is it possible to pass Facebook Graph API access token through request header?
Yes it is possible Authorization: Bearer AccessTokenHere e.g. curl –header “Authorization: Bearer CAAC…ZD” https://graph.facebook.com/me This answer previously recommended using “OAuth” instead of “Bearer” as the token type. Both will work, but “Bearer” is the type that shows up in the standard. Also, on completing Facebook’s OAuth flow, the token_type in their response is bearer. So … Read more
Refused to display in a frame because it set ‘X-Frame-Options’ to DENY facebook fb.ui share method
I got my solution from this post: Loading Iframe Facebook (Load denied by X-Frame-Options) I got the same issue, and it got fixed, when i used target=”_top” for the link , and it is now working perfectly.
Facebook Graph API – likes returns me an empty set
add user_likes permission to your application
How to securely authorize a user via Facebook’s Javascript SDK
You don’t need to push the user’s ID via ajax. You should, on the server side, use the fbsr_{app_id} cookie which holds the signed_request. Parse this signed_request using your ‘secret’ app_secret issued by FB to get the ‘user_id’. NOTE: a successful parse also shows that the cookie data provided by FB is not tampered with. … Read more
How do I get album pictures using facebook API?
From the first call you get all the albums (and the album IDs) ‘/me/albums’ from there you can get the album picture (cover) “https://stackoverflow.com/”+album.id+’/picture’ AND the photos of the album “https://stackoverflow.com/”+album.id+’/photos’
Will it cause any issue if I use multiple Facebook Pixel in one page?
I had the same requirement and I found that it is possible and you don’t need to hack the Facebook pixel code. Even if it is not documented, the fbq object support multiple pixel ids. Just call multiple times the init function with different pixel ids. Then, then when you do fbq(‘track’, “PageView”); it will … Read more
Can I “add friend” with Facebook’s API?
No. Adding friends is not possible through the API. However you can direct users to http://www.facebook.com/addfriend.php?id=[USER UID] Where [USER UID] is a valid facebook user id. Good luck!