1. 程式人生 > >restaurant.restaurant Open Graph Object Type

restaurant.restaurant Open Graph Object Type

// For more complex open graph stories, use `FBSDKShareAPI`
// with `FBSDKShareOpenGraphContent`
NSDictionary *params = @{
  @"object": @"{\"fb:app_id\":\"302184056577324\",\"og:type\":\"restaurant.restaurant\",\"og:url\":\"Put your own URL to the object here\",\"og:title\":\"Sample Restaurant\",\"og:image\":\"https:\/\/s-static.ak.fbcdn.net\/images\/devsite\/attachment_blank.png\",\"og:description\":\"This place rocks\",\"restaurant:contact_info:street_address\":\"1601 Willow Rd.\",\"restaurant:contact_info:locality\":\"Menlo Park\",\"restaurant:contact_info:region\":\"California\",\"restaurant:contact_info:postal_code\":\"94025\",\"restaurant:contact_info:country_name\":\"United States\",\"restaurant:contact_info:email\":\"brian\u0040example.com\",\"restaurant:contact_info:phone_number\":\"212-555-1234\",\"restaurant:contact_info:website\":\"http:\/\/www.facebook.com\",\"place:location:latitude\":\"37.484828\",\"place:location:longitude\":\"-122.148283\"}",
};
/* make the API call */
FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                               initWithGraphPath:@"/me/objects/restaurant.restaurant"
                                      parameters:params
                                      HTTPMethod:@"POST"];
[request startWithCompletionHandler:^(FBSDKGraphRequestConnection *connection,
                                      id result,
                                      NSError *error) {
    // Handle the result
}];

相關推薦

restaurant.restaurant Open Graph Object Type

// For more complex open graph stories, use `FBSDKShareAPI` // with `FBSDKShareOpenGraphContent` NSDictionary *params = @{ @"object": @"{\"fb:app_id\":\"

ImportError: libmysqlclient.so.20: cannot open shared object file: No such file or directory 解決辦法

object init ror 文件 module libmysql 找到 str 軟連接 >>> import MySQLdbTraceback (most recent call last): File "<stdin>", line

java 罕見的依賴報錯 jstat: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory

玩意兒 rpm 文件 .com pen jdk1 obj not found linu java 都用了N長時間了,突然,意外地發現有一個依賴的so文件從來沒找見過 # ldd /usr/bin/java linux-vdso.so.1 => (0x00007ff

iptables報錯:Couldn't load target `accept':/lib64/iptables/libipt_accept.so: cannot open shared object file: No such file or directory

大寫 obj direct 規則 lib not blog acc get 語句:iptables -A INPUT -s 134.192.204.235 -p TCP --dport 11211 -j accept 報錯:Couldn‘t load target `acc

error while loading shared libraries: libssl.so.6: cannot open shared object file

ldd yum check_tcp libssl.so.6 openssl098e-0.9.8e-20 [root@ ~]# /usr/local/nagios/libexec/check_tcp -H 127.0.0.1 80/usr/local/nagios/libexec/check

ogg啟動報錯libnnz11.so: cannot open shared object file

version pat director ggsci 11.2.1 aries targe 64bit ews 當ogg軟件解壓,並給予正確的權限後,在啟動ogg時會遇到如下報錯: [[email protected]/* */ ogg]# ./ggsci./g

PyCharm ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or directory 解決辦法

圖片 object shared 8.0 body har error err cto PyCharm ImportError: libcusolver.so.8.0: cannot open shared object file: No such file or d

ubuntu下tensorflow 報錯 libcusolver.so.8.0: cannot open shared object file: No such file or directory

export direct config sudo 8.0 ring 終端 運行 ber 解決方法1. 在終端執行: export LD_LIBRARY_PATH=”$LD_LIBRARY_PATH:/usr/local/cuda/lib64” export CUDA_H

error while loading shared libraries: libevent-2.0.so.5: cannot open shared object file: No such file or directory解決

make scp AR object normal memcache window 2.0 HA 我是從其他服務器scp來的memcached(~~~整個文件夾的那種,windows用多了的後遺癥) 在準備運行 ./memcached -d -u root -l loca

ABAP術語-Object Type

archive 知識 PE create 是我 itl .html In pos Object Type 原文:http://www.cnblogs.com/qiangsheng/archive/2008/03/06/1093159.html Description cr

error:while loading shared libraries: libevent-2.1.so.6: cannot open shared object file: No such file or directory

div usr dir deb 缺失 依賴庫 cal bug 模塊 執行 memcached 啟動命令時,報錯,提示:error while loading shared libraries: libevent-2.1.so.6: cannot open shared ob

Oracle Object Type

replace 失敗 ber var out params workflow bsp init CREATE OR REPLACE TYPE PROC_WF_PARAM_TYPE AS OBJECT (/**********************************

Python3.6 AES加密 pycrypto? 更新為 pycrypto?demo | TypeError: Object type <class 'str'> cannot be passed to C code

初始 pac error: mod install rpc asc 如果 new #!/usr/bin/env python# -*- coding:utf-8 -*-# @author: rui.xu# @update: jt.huang# 這裏使用pycrypto?de

解決軟件啟動報error while loading shared libraries: libgd.so.2: cannot open shared object錯誤

data dso htm inux libpcre 通過 libc.so.6 code 相關 解決軟件啟動報error while loading shared libraries: libgd.so.2: cannot open shared object錯誤 今天安

缺少動態連接庫.so--cannot open shared object file: No such file or directory

編譯 -- bject bsp so庫文件 rec sse style path 編譯號所需的so庫文件,以下幾種方式將其連接上即可1. 用ln將需要的so文件鏈接到/usr/lib或者/lib這兩個默認的目錄下邊 ln -s /where/you/install/l

ubuntu14.04, libtinyxml.so.2.6.2: cannot open shared object file: No such file or directory

pack directory cname while 14. class home name rac 打包/opt/ros 打包項目文件install 到一臺沒有安裝ros環境的機器上啟動項目 source ros/indigo/setup.bash source

Ubuntu14.04 ,libboost_filesystem.so.1.54.0: cannot open shared object file: No such file or directory

mage erro ror file pack ack inf des span macname@ubuntu:/opt$ roslaunch blarospack : error while loading shared libraries: libboost_f

cannot open shared object file問題解決辦法

exportLD_LIBRARY_PATH=$PWD:$LD_LIBRARY_PATH LD_LIBRARY_PATH是系統連結庫的路徑變數,export Ld_LIBRARY_PATH="'pwd' :$LD_LIBRARY_PATH ”就是把"當前目錄/ "這個路徑加入到Ld_LIBRA

arm-none-linux-gnueabi/4.4.3/cc1: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory

鬱悶了,安裝好了arm-linux-gcc的4.4.3版本,就是能能執行!!! 而且,在執行arm-linux-gcc -v的時候一切正常,醉了! 顯示說: /opt/Friendlyarm/arm-linux-gcc-4.4.3/bin/../libexec/gcc/arm-none-linux-

解決error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file

一、問題 執行hello程式時,用到了自己編寫的動態庫,在目錄/usr/local/lib目錄下,執行時出現 error while loading shared libraries: libhello.so.1: cannot open shared object file: No s