I've created a small facebook application that posts a link to the user's profile. I want the link to reference my application with a certain querystring for me to know what data to present him.
Is it possible? how can it be done?
Thanks!
use normal get parameters in the link
Related
Is it possible to get the Facebook app id on my canvas page?
So I am here: apps.facebook.com/myappspace
and in my index.php I want to get the FB App id now. Is this possible? The only way I figured out was when I can get the signed_request, because a user already authenticated my app.
But let's assume an unauthenticated user visits my canvas page. Any way to get the FB App Id?
P.S.
It's not possible to write it into my php-file, because I use the same code for several Facebook Apps, so I need to find our now what App is used to show individualized content.
In short this is not possible without getting signed_request.
Actually you not really have to place this information in the code, but some configuration files, which should be different for every application instance, have appropriate permissions and without public access for sure.
You can decide which configuration to use based on application hostname/ip (any other way to identify which application it is).
I am wondering if a tab in a Facebook Page can be created that would allow the users of the page to upload photos to the page's albums. I've looked everywhere for such solution, but I can not find it.
Does such ready solution exists? If now, can someone provide me with a ready solution for such functionality? I would be very grateful.
Regards,
Kiril
You need to use Facebook Graph API to achieve this.
Familiarize with the following links, they will put you on the right track:
http://developers.facebook.com/ (#1)
http://developers.facebook.com/docs/authentication/ (#5)
http://developers.facebook.com/docs/reference/api/ (#4)
http://developers.facebook.com/docs/reference/api/permissions/ (#2)
https://github.com/facebook/facebook-php-sdk (#3)
The first thing you want to do is create an app (#1). Then you need to authorize the page you want to use with your app (#2; offline_access, publish_stream is what you are after). If you are developing using PHP then see #3 link. This will make things easier handling signature_request.
Assuming you want to create a form on a Page that will allow anyone to upload pictures to your Page. Create file upload form as usual. Once you have the file, initiate file upload to the Page gallery using Graph API (#4; http://developers.facebook.com/docs/reference/api/photo/). You also might want to authorize every user who uses your upload form, to distinguish uploaders.
I'm looking to use the Facebook PHP SDK to be able to "check in" to places on Facebook from a widget on my site.
I'm having some trouble figuring this out. Do I need to go and create a Facebook Graph object of the place I want to check in to. By this I mean use the OpenGraph Markup and create a file on my website that represents the place.
I have successfully created one of these but it was a movie and not a place. I'm having trouble creating it for a place/venue. Does anybody have any samples?
Thanks.
Update:
I keep getting this error is anybody familiar with it? Thanks.
"(#100) Param place must be a valid page ID"
You can only check in to existing Pages (specifically, those with location information, AKA Places) - these are the real places on Facebook.com which were created there or via the Facebook mobile apps
You can't check into Open Graph objects even if they're defined with location information
How can i get all the facebook user id whose like my application via a graph api.
Please give any suggestion.
Like facebook fan page showing application liker randomly. I also want to access my application liker list and want to save in database.
Please tell me if any possibility? Need your suggestion...
Thanks
Sorry, I don't think that's possible for privacy reasons Facebook doesn't allow it. You need to get people who like you application to install and authenticate it before you can find out more about them. However, I do remember someone managing to scrape the fans of a page before so maybe that's possible for applications as well...
I'm using the Facebook Javascript SDK and fbml like-buttons. Using the 'edge.create' callback I know when someone has liked an url. Is it possible to get the facebook-user-id as well? Without them having to log into my App/Domain with FB Connect
I would like to double-store likes for internal statistics (since it's hard to get very fine grain domain statistics via facebook.com/insights)
Regards,
Niklas
That information is not available to developers through any of the facebook API's. You might want to store the uid's locally when the user clicks a like button.
Hope that helps.
-Roozbeh
Nope, it is not possible to get a users id simply from them clicking on a like button.
I'm not sure why you would even need a users id to simply help you track like button clicks, if you need some sort of unique identifier try using sessions or a cookie.