asp.net + integrating Facebook event and joining - facebook

I intend to integrate the Facebook event on my website using the Event api, however I understand that we can't join the event through my website, correct me if I am wrong. What is the best way to go about this because if possible, I prefer not to have my user exit from my website, what I can think of is to display the Facebook Event page itself on a iFrame or something when the user clicks on any of the events link on my website. Anyone can advise if there's a better way of dealing this?
Thanks.

Related

Looking for guidance for Facebook Messenger's Webhook for page

I would like to know if there is a way (using any server side calls) to automate the subscribing to Messenger Webhook for specific Facebook Page. The user gives us access and we have the page's access token but we don't know how to make the subscription to page's messenger's events programmatically. All the manuals/docs show how to add the page using Facebook UI, but we need to do that using their API.
Could you guys point me to the right documentation if there is any.
THanks

Is there a way to store the likes,share of facebook,google in database?

I am developing a site..in which we have pictures,video which users can share/like/tweet
them.
facebook , google and twitter
Can i save the clicks by getting response that post is shared successfully?
eg: someone liked/shared the video than i want to get a response from facebook that post is shared successfully.
also if some liked and then disliked it ..to save only unique likes
Is there any way to accomplish this?
I found something for fb share Is it possible to add a link to download a file that can only be downloaded by sharing it on Facebook?
Thanks
Perhaps not the best by-the-book solution but you could attach an onclick event handler to each of the buttons (or iframe container).
Also, for the Facebook API you can use edge.create. I am not too familiar with the other APIs.

Can I check if user is a fan from a page outside of facebook?

I've 'fan-gated' from within an iframe on a facebook tab before but I'm trying desperately to 'fan-gate' from an external website that is not within the facebook framework. We want users to "like" our client's facebook page in order to print a coupon for their product. All the different methods are making me dizzy and I feel as if I've tried each of them three times already!
You don't have to tell me HOW to do it but does anybody know if:
It is even POSSIBLE to do this outside of a facebook iframe?
What is the method I need to go with to make it happen? (Graph API, FQL, etc.)
Thanks so much in advance for any help you all can offer me.
It's not possible. Not sure what methods you've tried so far but your best bet to have functionality even remotely similar to what you're asking is to:
Direct (i.e., deep link) users to fan-gated tab on the client's FB page
Upon the user liking the page, generate a unique link that redirects the user to the page on the external website that holds the coupon.
Expire the link after it's been clicked so that no one else can use it. Alternatively, you can attempt to tie the unique link to a cookie on the user's machine (or something similar).
Modify the external website so that no one can directly link to the coupon without being routed through this fan-gating process.
Not the best user flow in the world, but it's the only way that I can think of to make it work. Trust me, I've tried. =)

Implementing a Facebook Page Like with the Facebook Registration Plugin

I have read through the documentation on how to set up the Facebook Registration Plugin. In reading I saw that there are what facebook calls named fields and custom fields. What I am looking for is a check box that says "Like us on facebook". If that is clicked and the form is submitted the user auto likes our page.
I would think that there would be a field in named fields area that does this.
Some of the research I have done suggests that forcing an auto like on a user is black hat and could result in the deletion of your facebook page. This registration plugin seems like a good way to get the user to opt in to facebook marketing. Yes I could auto like them on submit if the box is checked but then how would facebook know that I have permission to do this.
Does anyone have a "white hat" solution to "liking" a facebook page within a form besides the obvious facebook like box plugin?
This is not possible.
Yes I could auto like them on submit
How would you do that? I can't think of a way to "Like" a Facebook Page programatically!
To be able to like a page, you'll need to get extended permissions from the user and use the Graph API's Publishing Feature. However, this can't be done using the Registration Social Plugin.
As I said you will need to use the Graph API to authenticate the user, while doing that you will need to request permission to publish_stream which will allow you to like your page after authentication by making a Graph POST request to Like the object.
However, although you can do this, it is far more complex than the Registration Plugin, it requires more steps and much more work on your end. However, if you really want to do it, it is certainly possibly.

Facebook API: create event using Facebook's form

I've done my searching for the answer to this but it remains unclear. This could be a simple "possible" or "not possible" answer.
I have a site I'm creating that uses Facebook Connect (may or may not be relevant). I would like users to be able to create Facebook events based on events posted on this site. I'm familiar with the Facebook API and realize I could make my own form that would allows users to create a Facebook event... but I don't really think I want to do that work.
Is there a way I can point a user to Facebook's "create event" form but simply pre-populate some of the fields to help them along?
For example, say I wrote post about a free concert and had a button that said "make this an event on Facebook!". I would like that to link back to the fB event form with a title "Reggae Night 2010" and then from there the user could go on and create the event as they normally would. I don't see the point in doing my own form, validation, etc.
Thanks!
Firstly, obviously have a FB login enabled page and/or when the click your site's "click here to create event in Facebook" button, then have it check for whether the user is already logged into FB. Then use javascript to prepopulate the fields on the form on this page...
http://www.facebook.com/events/create.php
...with the info from your site's event.
That should be it!
-Flak
EDIT: spankmaster79 - yes, that's what I said above.... have your code CHECK for WHETHER you're ALREADY LOGGED INTO FB first. (Please remove the -1, I'd appreciate it)