60
votes
6answers
67k views
How to check if a user likes my Facebook Page or URL using Facebook's API
I think I'm going crazy. I can't get it to work.
I simply want to check if a user has liked my page with javascript in an iFrame app.
FB.api({
method: "pages.isFan",
page_id: ...
23
votes
3answers
44k views
Using Facebook Graph to simply post a wall message with just javascript
Hey guys,
Now I know this question has been asked similarly a lot of times but I'm really struggling here.
Its a simple thing I need to do:
I would like to post a message onto a users wall saying "I ...
21
votes
2answers
21k views
Uncaught Exception: Permission denied to Proxy.InstallTrigger
I've searched high and low for this and can easily reproduce it. Running absolute latest PHP SDK and the JS is coming directly from facebook over an HTTPS connection. My 'MyAppId' and domain have been ...
9
votes
4answers
3k views
Unknown algorithm. Expected HMAC-SHA256 spam in logs
I'm using facebook php sdk 3.1.1 and the current version of the facebook JS sdk. Our users are not reporting errors, but I'm seeing a ton of error log messages like this:
Unknown algorithm. ...
8
votes
6answers
8k views
Can you get a public Facebook page's feed using Graph API without asking a user to allow?
I've never used Facebook's Graph API, or OAuth. I'm simply trying to get a public Facebook page's feed using the Graph API, but it requires an access token. I don't want to hassle the users to login ...
8
votes
1answer
394 views
Fb Friend selector in google app engine
<fb:serverFbml style="width: 240px;">
<form method="post" action="/friend-selector" id="friend-selector">
<script ...
7
votes
4answers
875 views
Using the open graph API, is there a way to determine which friends of a user have an @facebook.com email address setup?
The title basically sums it up. After fetching the list of friends for a facebook-connected user, I'm looking for a way to determine if the friend is using the new messaging system with the ...
7
votes
4answers
1k views
Tag someone on a feed dialog with Facebook API
I'm using this code to share a picture on facebook.
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:fb="https://www.facebook.com/2008/fbml">
<head>
<title>My Feed Dialog ...
7
votes
2answers
4k views
Using Facebook Javascript SDK to get Graph Data
FIXED NOW! But I can't answer my own question yet. See my comment below. And thanks for helping.
I've searched and searched and read the docs and still can't figure this out.
I have a web page ...
7
votes
3answers
489 views
Timeline Action Layout - No Attachment displayed
I am trying to post a Action to the Facebook Timeline using the JS API
FB.api('/me/application:action_type' + '?opject_type='+document.location.href,'post',
function(response) {
if ...
6
votes
7answers
5k views
Facebook comment ID issue
I am using FBML's fb:comments plugin on a Facebook app (which, although it's described as "legacy" on the Facebook developer site, seems to be the only way to get proper Facebook comment integration ...
6
votes
7answers
2k views
How do I renew a Facebook user_access_token if I deal with a lot of AJAX?
Please tell me if I'm understanding correctly. (because I might not be.)
User posts something on my site. (He checked "also post to Facebook".)
Client sends an AJAX POST request to my server, and my ...
6
votes
1answer
3k views
How do I use an FB.api(JS SDK) response outside of the callback function?
I am not having any issues with logging in or even calling the api, I just have an issue with getting the response outside of the api callback. I know that it runs asynchronously so I would like to ...
6
votes
2answers
2k views
Facebook requests 2.0 , how to change “Accept” button url to be a url outside of facebook?
My app sits outside facebook canvas.
The facebook request dialog 2.0 only redirects to canvas url
eg. apps.ibibo.com/YOURAPP.
How can I make it open a custom url ?
This was possible in legacy FBML ...
6
votes
1answer
6k views
How do you autopublish with FB.UI?
I have the stream_publish permission but it still pops up a dialog and there doesn't seem to be any way to pass in an autopublish bool (like it was before the graph api).
EDIT: Also tried ...