Facebook Fan Page API: How to call this API call using Facebook graph and PHP API -


i have tried lot no luck. want call following api call using graph api https://graph.facebook.com/page_id/settings?option={options}&access_token={page token} , facebook php api.

curl -f 'method=post'      -f 'option={"country_restrictions" : {"restriction_type":"blacklist", "countries":["pl", "fr"]}}'      -f 'access_token={page_access_token}'       https://graph.facebook.com/546349135390552/settings 

you can find above api call here facebook fan page api documentation

thank in advance

you forgot page id in api call:

https://graph.facebook.com/page-id/settings... 

anyway, since edited question , that´s not problem, here´s tutorial using php curl post: http://davidwalsh.name/curl-post

another example stackoverflow: php + curl, http post sample code?


Comments

Popular posts from this blog

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

android - How to create dynamically Fragment pager adapter -

1111. appearing after print sequence - php -