Facebook Application - Like Button - facebook

I'd like to develop a Flash/Flex based application that I'll integrate withing my Page on Facebook.
I've seen on many applications that in order for a user too see more stuff on the application, user first of all has to click LIKE button on my page.
I've searched but couldn't find right thing I've been looking for, probably I don't know how to search for it correctly.
Maybe you could help me out to find right source for that.

I don't think Liking the app really matter.
What you might be looking for is authorization from the facebook users. For instance if your app need to post status update on the user's wall, you'll need to get authorisation from him/her first.
You should probably read this (rather generic) intro on facebook's developer website:
http://developers.facebook.com/docs/guides/canvas/
This might be a helpful read too:
http://developers.facebook.com/blog/post/116/
Finally, haven't done it in AS3 but apparently Adobe has an as3 version of the facebook sdk available:
http://www.adobe.com/newsletters/inspire/november2010/articles/article6/index.html
http://code.google.com/p/facebook-actionscript-api/

what you are reffering to is liking a page beofore being able to interact with an application that has been embedded into a page. A page tab app.
You need to parse the signed_request that facebook passes to your application and once you have parsed it you will be able to see if the user has liked your page or not.
Here is a link to some more information about singed_requests

Related

Facebook app id for website social plugins

I have like/share buttons on my website and am not currently using an appid. Finding information on whether this is a necessity for the above configuration is difficult to confirm. When going through the Facebook app "create" forms, I'm really confused by a lot of the requirements as it seems to be more focused around actual apps rather than websites, which login via fb etc.
In the past I have created an app for one of my other websites and I don't believe there was any verification/submission process at this point (about 2-3 years ago). Reviewing my old app configuration now I can see that it is not "live" - does anyone know whether Facebook implemented this submission process in the last couple of years, and then de-activated any live apps that were created prior to this?
I now want to setup a new app for my new website and I'm unsure what the different 'action types' mean and what I would need to simply use like/share buttons on the website. Could someone give me a quick run down of what I'd need and what they are?
Any other info/tips people can provide would be greatly appreciated. I'm finding that the like/share DO still work without the app, but sometimes the share button doesn't work properly (I have a feeling this is something to do with the app).
Thanks
If you are just using the Social Plugins, you don't need to have a Facebook App ID.
If you want more integration, it will be required. Creating an App ID is like registering your App, wether an iOS or Android App or just a website, so that you can make Graph API calls for it.
The easiest way to register your website is to go the quickstart: https://developers.facebook.com/quickstarts/?platform=web (or https://developers.facebook.com/apps). There you can type a name and follow the steps.
You can then follow the "Sharing best practices" (https://developers.facebook.com/docs/sharing/best-practices#tags) on how to use the App ID. For example, by including an fb:app_id meta tag on your pages.
There is a review process, since last April, but that is only needed if you use permissions for your App. If you just use the plugins, that is not needed.
Can you explain more what is exactly not working?
Update
The time you create a page the Facebook crawler does not know yet what the Opengraph data for that one is. This will happen after the first share, but if you want to ensure it is correct from the first share on, you can force a re-scrape.
This section explains how that works:
https://developers.facebook.com/docs/sharing/opengraph/using-objects#update
When an app triggers a scrape using an API endpoint This Graph API
endpoint is simply a call to:
POST /?id={object-instance-id or object-url}&scrape=true

Do I really need to submit an app request to facebook in order to use the fb-api?

I have a site where I need to manually specify the content (and Url since some parameters need to be added depending on which facebook share link i press) in the facebook share-dialouge. I've got it to work now as developer but do I really need to submit an app request for the "app" and thereby create an "my app page" on facebook for the "app"? (I have a business page for my business)
All I want to do is use the facebook api to share my page content. Please give me an explanation for dummies because I'm getting really tired of Facebook right now.
(No I can't use addThis)
Thanks for the help!
Not sure if you don't confuse some stuff. have a look at https://developers.facebook.com/docs/web/share to get an overview about sharing on the FB platform.
You can use the Social Plugins for your Use Case I guess:
Share Button: https://developers.facebook.com/docs/plugins/share-button/
Share Dialog: https://developers.facebook.com/docs/sharing/reference/share-dialog

Link to a page inside a facebook app

I have an app inside of facebook and in that app you sign up for something and you get a personal link you can share with people to see your profile...how do I get that link inside of facebook?
An example might be in order to make this make more sense. App lives on my server
http://example.com/app
you sign up and get a profile page
http://example.com/app/my/profile/123
I don't want to give people THAT link, because this app is for facebook only, so the page really needs to be something like facebook.com/mypage/appId/my/profile/123
tl;dr want people to directly link to a specific page inside my facebook app and I'm not sure how to do that or if it's even possible
If I understand your question correctly, instead of using http://example.com/app/my/profile/123 try using your Facebook App URL like this http://apps.facebook.com/app/my/profile/123

Ability to tag friends in a facebook native share dialogue

I am using the Facebook iOS SDK 3.1 in my latest, and I'm using the native share dialogue from FBNativeDialogue.
It has a "friends" button in the corner, which I always throught was to tag friends (just like the location button tags the location), but I realised that this is privacy settings for the post.
Therefor, Im still confounded how you can tag friends in a post. Nothing seems to happend when i type # followed by my friends names, is this not implemented yet ? And does anyone know of clever way to implement this ?
What the customer wants is the similar to the "Who are you with?" button as shown here:
I just don't think this is possible, considering the current Facebook SDK (3.5.1) documentation -- https://developers.facebook.com/docs/howtos/ios-6/#nativepostcontroller. It states:
iOS 6 includes a native Share Sheet that lets users post status updates, photos, links, and locations to Facebook and includes support for setting the audience for the post and tagging the post with a location.
Even when you post something on Facebook from iOS' Notification Center, it only allows you to share the information mentioned above, without tagging friends.
Instead, you could use the Facebook views, as they do here https://developers.facebook.com/docs/tutorials/ios-sdk-tutorial/show-friends/. But if you have to use the Native Dialogs, I can't see a way. If you get it to work, please let us know the solution.

How to integrate app with facebook?

I made a quiz app using wordpress using a quiz plugin so that, the work could be done easily. I do not have any knowledge about how to integrate that app that I've made with facebook. Right now I've just kept the app on my localhost.
Do I need to add some API's or something like that? I have not handled AJAX and all that before but I do have knowledge about php.
I think you should clarify a bit about how do you want your app integrate with Facebook:
1) You want your quiz application as an on-Facebook canvas page application (which seems to be the case here):
Register an application on Facebook. The guide here is fairly easy to follow.
Read the basics about canvas Facebook
Learn about OAuth 2.0 authentication with Facebook. This step is optional since there is a good PHP library for Facebook. But I think it will saves you time afterwards.
Use PHP SDK for Facebook.
2) You want to use your own website, just add "login with Facebook" function (to record high scores, for example):
You should check Facebook integration for website. It's not too different from the first case.
I just give you the starting place. If there's something that is not clear enough, feel free to drop a more detailed comment.