简体   繁体   中英

PHP on Facebook Fan Page - is it possible?

I am setting up a competition on a Facebook page - ie a Facebook Tab Page.

When a fan "likes" the page they are shown a HTML form where they submit their name and email. I have explored using an Awebber form but this page will/should exceed their max allowed subscriptions per month.

So basically I will set up my own SQL DB and attempt to connect to it from the Facebook page and send the entrant's details to it.

Does Facebook allow you to do this through PHP? Or is there any easier alternative I should try?

Thanks Guys

Facebook Canvas和Tab页面只是指向服务器上页面的iframe,因此,是的,您可以在其中执行常规的PHP任务。

Yes, you can do this using Facebook's iFrames. They used to use FBML, but that is now deprecated. See this post for more details and great examples on how to get started.

Essentially, you create a page on your own website that is no wider than 520px wide, and point your Facebook page tab to that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM