0

.>< as the title

I want to build a application that can let anyone create the album and upload photos in it on my own page.

But I completely seek in the fb's develop document, it doesn't have the api to let anyone create it if you are't the page owner.

so I think maybe I can use php curl auto login my acconunt and then use my account to create and uplaod.

But in this case I use curl login my account ,is it safe? or who can tell me the best solution?

thank you >M< plz bear me If my description or English grammar is awful.

4

1 に答える 1

0

技術的には、PHP を使用してアカウントを認証し、Web アプリを自分のように動作させることができますが、これを行うことは、実際には Facebook の開発者契約に違反しています。これを行う場合、ユーザーにパスワードやユーザー ID を見せないように十分に注意する必要があります。

私の最善のアドバイスは、それらを PHP スクリプトに含めないことです。代わりに、Web ディレクトリの外にある暗号化されたファイルに配置してください。ファイルは、phpseclib の対称暗号化方式の 1 つで暗号化する必要があります。( http://phpseclib.sourceforge.net/ )

使用しているキーは、Web ディレクトリの外部に保存されているファイルにもある必要があります。

于 2013-01-28T04:13:25.080 に答える