tailieunhanh - Facebook API Developers Guide PHẦN 3
bởi vì mỗi sự tương tác bắt đầu và kết thúc với một thẻ. Tuy nhiên, để phân biệt giữa HTML và Facebook các lệnh, bạn có tiền tố các thẻ với fb: như nếu bạn đang sử dụng các DTD nhiều / lược đồ trong XHTML. Bằng cách sử dụng các thiết lập thẻ FBML, | 18 Getting Ready for Facebook Application Development Optional Fields Base options Support E-mail Limit 100 characters your_email_address We will contact you at this address if there are any problems or important updates. Callback Url Limit 100 characters After logging into Facebook users are redirected to the callback URL See authentication overview formore details. Canvas Page URL http Use FBML o Use iframe Your application will be viewable in the Facebook navigation at this URL - either as rendered FBML or loaded in an iframe. If you aren t sure what you should use here choose FBML. You can use iframes within FBML on canvas pages with the iirjrno tag and most things you will want to do will be easier and faster with FBML. Application Type Website o Desktop IP Addresses of Servers Making Reguests comma-separated If you supply this information . requests from addresses other than those listed wilt be rejected. Can your application be added on Facebook o Yes No Select Yes if your application can be added to a user s Facebook account TOS URL The URL pointing to your application s Terms of Service which the user must accept. Developers Your Name Type a friend s name Figure 2-8. Optional fields for Facebook application registration The following are the optional fields Support E-mail This is the e-mail contact for support questions for your application. Callback URL This is the URL of your actual application on your server. If you ve set up an application on your server at http facebook_app that is your callback URL you ll sometimes see this referred to as the callback metaphor . Canvas Page URL This is the Facebook URL to your application. Graham Getting Ready for Facebook Application Development 19 Application Type Most likely this will be Website but if you re developing an application in Java using the official client library or one of the unofficial libraries that won t be accessed primarily on the Web .
đang nạp các trang xem trước