Generic-user-small Shenouda Bertel 3 posts

Dears,

i try to update the profile and add a Box for My Application.
as the normal update as found in Chapter 2 .. but noting found in the profile even the profile action
and about the profile_main for new Facebook return exception Undefined method ..

i use the new facebook interface,
please help me as i need to add Action and Box of my Application on the User Profile

Thanks,
Shenouda Bertel

 
Head_small Mike Mangino 148 posts

Are you using the newest version of the book? You’ll need to use the fb_prompt_permission tag to ask permission to create a profile entry.

I’m not 100% sure that is included in the last beta. If it isn’t, it will be out in the final version of the book.

Mike

 
Generic-user-small Allen Walker 19 posts

So should we place the “fb_prompt_permission_tag” in the _profile.erb or is there a better place for it?

 
Head_small Mike Mangino 148 posts

I put mine in the layout. fb_prompt_permission will render a button that asks the user for permission to add a profile box. Once they click the button, it won’t be shown to them anymore. You can see the documentation on the Facebook wiki

 
Generic-user-small Allen Walker 19 posts

Which permission is relevant here? email, offline_access, status_update, photo_upload, create_listing, create_event, rsvp_event, sms. ?

Also can you give a example use of your fb_prompt_permission helper. Thanks

5 posts, 3 voices