Social Media Support Center
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Facebook Event buttons to HTML page

3 posters

Go down

Facebook Event buttons to HTML page Empty Facebook Event buttons to HTML page

Post by D3ff Tue Mar 01, 2011 1:28 pm

How can I display Facebook Event "I'm Attending" button on HTML page? At the moment I took random public event source code and copied this part to my HTML. After clicking "I'm Attending" I am directed to [You must be registered and logged in to see this link.] (although Attending works and Event becomes visible in my FB events page). Without this URL attending function simply wouldn't work. Any suggestions how to redirect user to FB homepage after the click?
Code:

<div class="rfloat">
<form rel="async" class="mll" action="http://www.facebook.com/ajax/events/actions.php" method="post" name="rsvp_form" id="rsvp_form" onsubmit="return Event.__inlineSubmit(this,event)">
<input type="hidden" autocomplete="off" name="post_form_id" value="846b813f5d12be13ba631dbe8d4abb1c" />
<input type="hidden" name="lsd" value="7n8ow" autocomplete="off" />
<input type="hidden" autocomplete="off" name="eid" value="147209275338893" />
<input type="hidden" autocomplete="off" name="inline" value="1" />
<input type="hidden" autocomplete="off" name="new_profile" value="1" />
<label class="uiButton uiButtonConfirm uiButtonLarge" for="u978421_1">
<input value="I'm Attending" type="submit" name="rsvp_button[Attending]" id="u978421_1" />
</label></form></div>
D3ff
D3ff
New Member



Back to top Go down

Facebook Event buttons to HTML page Empty Re: Facebook Event buttons to HTML page

Post by Admin Tue Mar 01, 2011 7:29 pm

Hi,

If you're familiar with javascript (I'm not that much), you could add an onClick event and use window.location to redirect to your event. Just an idea, not sure if it would work.

(If you're trying to do this through Static FBML though, it won't be possible).
avatar
Admin
Ultimate SN Fan



Back to top Go down

Facebook Event buttons to HTML page Empty Re: Facebook Event buttons to HTML page

Post by Tim Thu Jun 23, 2011 10:46 pm

Moved from Group/Fan Page/Event Support to Awaiting Reply.

There have been no replies or contributions on this thread for several days. Do you still require help?

If you do not reply to this thread within the next 3 days, we will assume you have abandoned your request for help, and this thread will be moved to the Abandoned Topics section without further notice.

If you are not the thread starter, please do not post for any help or support on this thread.

Thanks for your co-operation and understanding!
Tim
Tim
Administrator



Back to top Go down

Facebook Event buttons to HTML page Empty Re: Facebook Event buttons to HTML page

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum