Facebook places checkin using open graph protocol ID as place ID

后端 未结 4 1352
小蘑菇
小蘑菇 2021-02-09 20:42

I used the FB page linter to verify that all the meta information I\'m using is correct. According to the graph url, my page id is 157797447612809, yet when I try to publish a

4条回答
  •  时光取名叫无心
    2021-02-09 21:22

    Since there is absolutely no documentation by Facebook on this matter, I solved this by looking at what foursquare has done and a lot of trial and error.

    When defining your open graph object within facebook, you must add a property of type GeoPoint. I called mine location. Define in the object page meta like this:

      
      
    

    Now when you debug/lint this object it register as a place, just like the foursquare HQ. You can check in and create map views for actions that include this object.

提交回复
热议问题