我的Facebook应用程序通过Notifications API向其用户发送包含一些信息的通知.但是,这些通知仅在桌面上接收,但不在移动设备上接收.
我如何联系所有移动用户社区?
我有一个PHP页面,从Facebook粉丝页面拉动事件.如果我打开隐身窗口(或退出Facebook),然后单击该链接,将打开一个空白页面.我猜这与访问令牌,FB应用程序的权限和页面权限有关.任何见解将不胜感激.
ticket_uri尝试打开如下链接:http://www.facebook.com/ajax/events/ticket.php?event_id = 147884225370550&action_source = 12.如果登录,似乎会自动转发到事件中的实际故障单链接.
这是我正在处理的页面:http://danagould.com/live.php.它正在从facebook页面官方文件中拉出来
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<?php
date_default_timezone_set('America/Los_Angeles');
//requiring FB PHP SDK
require 'fb-sdk/src/facebook.php';
//initializing keys
$facebook = new Facebook(array(
'appId' => 'MYAPPID',
'secret' => 'MYAPPSECRET',
'cookie' => true, // enable optional cookie support
));
$fql = "SELECT name, pic, start_time, end_time, location, description, eid, has_profile_pic, venue, ticket_uri
FROM event WHERE eid IN ( SELECT eid FROM event_member WHERE uid = 175890419184371 AND start_time …Run Code Online (Sandbox Code Playgroud) 我刚刚将一个FB应用程序项目交给了我,我正在尝试清理一些项目,然后才能上线.
原始程序员具有存储在数据库中的用户ID号,但不显示它或名称.我想在他们上传的图片下显示用户名.
我的代码是<?php echo $row['user_id']; ?>,有一种简单的方法将其转换为用户的名字?
我的应用程序的ONe是在页面上发布信息(作为页面).但看起来只有我(我是该页面的管理员)才能看到该消息.我使用Graph API资源管理器检查了该消息的隐私设置,它看起来没问题:
"privacy": {
"description": "Public",
"value": "EVERYONE"
},
Run Code Online (Sandbox Code Playgroud)
我可以看到的一个区别是,看过帖子的人是用英语写的(对于其他帖子,用法语写的).
我能错过什么?
Thx提前!
我被要求为一个品牌申请域名.我们曾经这样做过
<meta property="fb:page_id"content="%page_id_here%" />
Run Code Online (Sandbox Code Playgroud)
这将自动为相关Facebook页面的管理员提供对域洞察的访问权限.Facebook将不再验证域名(1)(2)的所有权,您必须使用fb:admin或fb:app_id.
显然这fb:app_id将是首选方式,但这是否意味着我们有两组用户权限,一组用于Facebook页面,另一组用于为域名创建的Facebook应用程序?
有没有简单的方法让它们成为同一个?
在Facebook应用程序中配置"Android Native App"时,它们需要Android Class Name.如果你从Unity3D创建了Android APK,你怎么知道要使用哪个类?

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" android:installLocation="preferExternal" package="--------------" android:versionName="1.02" android:versionCode="8">
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:xlargeScreens="true" android:anyDensity="true" />
<application android:icon="@drawable/app_icon" android:label="@string/app_name" android:debuggable="true">
<activity android:name="com.unity3d.player.UnityPlayerProxyActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="landscape">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.unity3d.player.UnityPlayerActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="landscape">
</activity>
<activity android:name="com.unity3d.player.UnityPlayerNativeActivity" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="landscape">
<meta-data android:name="android.app.lib_name" android:value="unity" />
<meta-data android:name="unityplayer.ForwardNativeEventsToDalvik" android:value="false" />
</activity>
<activity android:name="com.unity3d.player.VideoPlayer" android:label="@string/app_name" android:configChanges="fontScale|keyboard|keyboardHidden|locale|mnc|mcc|navigation|orientation|screenLayout|screenSize|smallestScreenSize|uiMode|touchscreen" android:screenOrientation="landscape">
</activity>
<!-- ACTIVITIES -->
<activity android:name="com.prime31.FacebookProxyActivity" />
<!-- META-DATA -->
</application>
<!-- PERMISSIONS …Run Code Online (Sandbox Code Playgroud) 我有一个使用Facebook身份验证的Android应用程序,所以我知道用户访问令牌.在Android应用程序中,我有一个带有WebView的屏幕,可以通过Facebook 评论框从服务器加载页面.
服务器页面(在webView中加载):
<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.fb_ltr{height:100% !important; overflow-y: scroll;}
#u_0_1{position:absolute !important;}
</style>
</head>
<body>
<div id="fb-root"></div>
<script>
(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "http://connect.facebook.net/he_IL/all.js#xfbml=1&appId=MY_APP_ID";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));
</script>
<div class="fb-comments" data-href="MY_URL" data-width="470" data-num-posts="10"></div>
</body>
</html>
Run Code Online (Sandbox Code Playgroud)
当我使用WebView打开该屏幕时,我需要再次登录FaceBook.
有没有办法用WebView传递访问令牌(或其他参数)?
注意:如果使用WebView不可能,我也可以更改HTML
我有一个phonegap应用程序,它使用主要的facebook-plugin进行连接.我也使用phonegap构建直接获取apk/ipa而不生成android/ios项目.
然而,在面向开发人员的facebook中,我必须为我的应用程序完成一些设置,这些设置似乎需要的不仅仅是简单的phonegap构建.我看到了为Android应用程序生成哈希键的一些教程,但是,我应该在"类名"字段(Facebook将启动的活动)中完成什么,因为我的javascript-phonegap代码中没有任何类?
我正在尝试使用 Instagram Basic display API,但是当我发布授权代码以获取访问令牌时,我不断收到以下错误
{“error_type”:“OAuthException”,“code”:400,“error_message”:“平台应用无效”}
我下面的所有步骤这里所说- > https://developers.facebook.com/docs/instagram-basic-display-api/getting-started和是的,我现在用的是Instagram的应用程序ID和它的客户端秘密,那是在Products -> Instagram -> Display和以下是我发送请求的 URL
"https://api.instagram.com/oauth/access_token?client_id=".$app_id."&client_secret=".$app_secret."&grant_type=authorization_code&redirect_uri=".$redirecturi."&code=".$code,
php api facebook-graph-api facebook-apps instagram-graph-api
我正在尝试创建一个 Facebook 应用程序来使用 WhatsApp Business Cloud API。遵循本指南: https ://developers.facebook.com/docs/whatsapp/cloud-api/get-started
它说:“从应用程序仪表板中,单击您想要连接到 WhatsApp 的应用程序。向下滚动以找到“WhatsApp”产品,然后单击“设置”。”
但根本没有 WhatsApp 产品。还有其他产品,但唯独缺少 WhatsApp。
有谁知道为什么会这样?
附上整个窗户的图片。屏幕截图
facebook-apps ×10
facebook ×6
android ×2
api ×1
cordova ×1
html5 ×1
php ×1
uri ×1
visibility ×1
whatsapp ×1