심즈 소셜 앱에서 요청 대화 상자에 "심즈 사회 요청을 보내기 전에 묻지 마십시오."라는 메시지가 <USER>. "요청 대화 상자 확인란 옵션 "보내기 전에 묻지 마십시오."
Facebook API 문서에서이 기능을 찾지 못했습니다. 내 앱에서이 기능을 활성화하는 방법을 알고 싶습니다.
심즈 소셜 앱에서 요청 대화 상자에 "심즈 사회 요청을 보내기 전에 묻지 마십시오."라는 메시지가 <USER>. "요청 대화 상자 확인란 옵션 "보내기 전에 묻지 마십시오."
Facebook API 문서에서이 기능을 찾지 못했습니다. 내 앱에서이 기능을 활성화하는 방법을 알고 싶습니다.
디에
당신은 당신이 포함하고자하는 사용자 정의 필드를 지정 할 수 있어야한다 http://developers.facebook.com/docs/plugins/registration/#custom_fields 를 참조하십시오.
{"name":"the-name", "description": "the-description", "type": "option-type"}
또는 옵션 인 경우.
{"name":"the-name", "description": "the-description", "type": "option-type", "options": {"name":"value","name":"value"}}
<fb:registration redirect-uri="https://developers.facebook.com/tools/echo"
fields='[
{"name":"name"},
{"name":"foo","description":"Type foo","type":"text"},
{"name":"bar","description":"Type bar","type":"text"},
{"name":"facebooker","description":"Pick Paul","type":"select","options": {"coder":"Paul","pm":"Austin","partners":"Cat"}}]'
onvalidate="validate"></fb:registration>
이 기능은 대부분 그들이 사용자가 응용 프로그램 생성 요청 기능을하지 페이스 북 구현 조각을 받고 싶습니다 여부를 알고 내부적으로 사용하는 플래그이다. 응용 프로그램에서 생성 된 요청에 대한 자세한 내용을 보려면 여기를보십시오 http://developers.facebook.com/docs/channels/#requests
당신은 충격을하지만,
레이아웃을 추가 할 수 있습니다 "iframe이"
을 PARAM 문제를 해결해야으로 FB.ui 요청을 토륨하십시오. FB 대화 상자에 원하는 확인란이 나타납니다.
FB.ui(
{
method: "apprequests",
filters: ["app_non_users"],
layout: "iframe",
data: "invite",
title: heading,
message: text,
picture: pictureUrl,
caption: text
},
function(response) {
if (response && response.request_ids) {
// the user has successfuly carried out the action
fbHandleResponse(response);
} else {
// user cancelled the action
fbHandleFailure();
}
}
);
건배! 야쿱
세트 frictionlessRequests는 사실 으로 그렇게 할 것입니다.
FB.init({
appId : 'YOUR_APP_ID',
status : true,
cookie : true,
frictionlessRequests : true,
oauth: true
});