Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.


Join the forum, it's quick and easy

Facebook Teens
You'll need to login or register in order to fully use all the features and view all the sections of this site.
Thank you.
Facebook Teens
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Facebook Teens
Similar topics

You are not connected. Please login or register

  

View previous topic View next topic Go down  Message [Page 1 of 1]

danilodeleon

danilodeleon
Administrative Team
Administrative Team
This thing is alittle bit complicated to newbies:).
STEP 1: ADDING THE ADD TO PROFILE BUTTON

Step 1.1: Add the Javascript part

If you're using iframe, somewhere in your code you added the FB_RequireFeatures method. You need to add to this method:
Code:

FB.Connect.showAddSectionButton("profile", document.getElementById("addProfileButton"));
Step 1.2: Add the HTML

Notice how the second parameter's name is "addProfileButton". You must add a div with that name in your code:
Code:

<div id="addProfileButton"></div>
STEP 2: ADDING THE POST-AUTHORIZE REDIRECT URL IN YOUR DEVELOPER SETTINGS

Self explanatory. The Post-Authorize Redirect URL must point to where you want your profile thing to load.

STEP 3: DECLARE THE METHOD YOU ASSIGNED IN STEP 2
Spoiler:

http://profiles.friendster.com/danilodeleon

View previous topic View next topic Back to top  Message [Page 1 of 1]

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

 

ChatBox
Free forum | ©phpBB | Free forum support | Report an abuse | Forumotion.com