Facebook小时图api

时间:2014-07-17 11:26:43

标签: facebook facebook-graph-api

我在facebook graph api遇到了一些麻烦。我们使用graph api来更新facebook上的页面。问题是,对于某些页面,小时数不会更新(仅数小时)。 Facebook不会抛出任何错误,只是值不会改变。我为koala个库尝试了fbgraphnodejs

这是example of page,其中营业时间会更新 这one不起作用 这是请求正文:

{
    "description"=>"This is a test description for NetworkProfile UK! Keep all of your listings up to date", 
    "general_info"=>"NetworkProfile UK London, InSights, NetworkProfile", 
    "phone"=>"02089610538", 
    "website"=>"www.innerballoons.com",
    "keywords"=>"NetworkProfile UK London,InSights,NetworkProfile", 
    "location"=>{
        "city"=>"London",
        "street"=>"22 Highbury Grove", 
        "zip"=>"N5 2EF"
        }, 
    "country"=>"Netherlands", 
    "latitude"=>51.5504,
    "longitude"=>-0.0970388, 
    "hours"=>{
        "mon_1_open"=>"09:00", 
        "mon_1_close"=>"15:00",
        "tue_1_open"=>"09:00", 
        "tue_1_close"=>"17:45", 
        "wed_1_open"=>"09:00", 
        "wed_1_close"=>"17:00", 
        "thu_1_open"=>"08:15", 
        "thu_1_close"=>"18:30", 
        "fri_1_open"=>"none", 
        "fri_1_close"=>"none", 
        "sat_1_open"=>"none", 
        "sat_1_close"=>"none", 
        "sun_1_open"=>"none", 
        "sun_1_close"=>"none"
        }
}

来自facebook的回复:

{"data"=>"true"}

有没有人知道这个问题可能是什么原因以及如何解决?

0 个答案:

没有答案