テンプレート バンドルの登録を自動化する機能をフレームワーク ラッパーに構築しようとしています。Feed.registerTemplateBundle API メソッドを使用して正常に実行できると思われるところまで来ました。エラーは発生せず、テンプレート ID が返されます。しかし、テンプレートが「登録済みテンプレート コンソール」に表示されず、ID を使用してストーリーを公開しようとすると、「無効なテンプレート バンドル ID」というエラーが表示されます。
助言がありますか?
2 つの問題があったことが判明しました。
私は自分のコードを修正し、バグが報告されました(修正されたと思います)。
I had this problem in Facebook's official example application (TheRunAround)
it was registering template but when it tried to get an id it was using sprintf (like: sprintf('%d', ))
current template ID's are out of the 32bit range so it was returning wrong id.
May it be the cause?