Find Jobs
Hire Freelancers

Bygg en hemsida

$250-750 USD

キャンセル
投稿日: 約7年前

$250-750 USD

完了時にお支払い
I have this problem: I'm trying to build a service that let's users create facebook ads with a custom audience based on our database of emails. Before creating the facebook ad I want to create a preview of the ad. This works just fine when I login in with my own account (admin of facebook app) but fails when logging in as test user. This is what the user will do: 1. Visit the website of the service. 2. Login using Facebook account with scope: public_profile,email,manage_pages,publish_pages,business_management,ads_management 3. Select facebook page to use 4. Create AdCreative. From this an ad preview can be made. But it fails creating an Adcreative and gives me the following error: "error":{"message":"Application does not have permission for this action","type":"OAuthException","code":10,"error_subcode":1341012,"is_transient":false,"error_user_title":"No permission to access this profile","error_user_msg":"You don't have required permission to access this profile","fbtrace_id":"EgTeMOXPCUp"}} The access token as well as ad account belongs to the facebook app. I tried to use the page access token as well but then I don't have permission to access the ad account. This is code: function fbadcreative($url, $message, $carasoul, $fbtoken, $pageid){ $calength = count($carasoul); $children = array(); for($i = 0; $i < $calength; $i++){ $caitem = $carasoul[$i]; $caitem['hash'] = fbaddimage($caitem['picture'], $caitem['id']); $child = (new AdCreativeLinkDataChildAttachment())->setData(array( AdCreativeLinkDataChildAttachmentFields::LINK => $caitem['link'], AdCreativeLinkDataChildAttachmentFields::NAME => $caitem['name'], AdCreativeLinkDataChildAttachmentFields::DESCRIPTION => $caitem['description'], AdCreativeLinkDataChildAttachmentFields::IMAGE_HASH => $caitem['hash'], )); $children[] = $child; } $link_data = new AdCreativeLinkData(); $link_data->setData(array( AdCreativeLinkDataFields::LINK => $url, AdCreativeLinkDataFields::CAPTION => $url, AdCreativeLinkDataFields::MESSAGE => $message, AdCreativeLinkDataFields::MULTI_SHARE_END_CARD => false, AdCreativeLinkDataFields::MULTI_SHARE_OPTIMIZED => false, AdCreativeLinkDataFields::CHILD_ATTACHMENTS => $children, )); $object_story_spec = new AdCreativeObjectStorySpec(); $object_story_spec->setData(array( AdCreativeObjectStorySpecFields::PAGE_ID => $pageid, AdCreativeObjectStorySpecFields::LINK_DATA => $link_data, )); $creative = new AdCreative(null, 'act_<accountid>'); $creative->setData(array( AdCreativeFields::NAME => $url, AdCreativeFields::OBJECT_STORY_SPEC => $object_story_spec, )); try { $creative->create(); return $creative->id; //return $creative->read(array(AdCreativeFields::ID,)); } catch (FacebookAds\Http\Exception\AuthorizationException $e) { echo 'Message: ' . var_dump($e); $previousException = $e->getPrevious(); // Do some further processing on $previousException exit; } I need it solved quickly.
プロジェクト ID: 13637994

プロジェクトについて

18個の提案
リモートプロジェクト
アクティブ 7年前

お金を稼ぎたいですか?

Freelancerで入札する利点

予算と期間を設定してください
仕事で報酬を得る
提案をご説明ください
登録して仕事に入札するのは無料です
この仕事に18人のフリーランサーが、平均$545 USDで入札しています
ユーザーアバター
Hello, my name is Michael. I represent Ukrainian based IT-company Webbook Inc that provides services in the IT-sphere for international business. We were carefully reviewing the requirements of the job description, so our devs can work on Your project without delay. We have years of working on projects related on any available CMS, from "scratch" with core php and php-frameworks(Yii/Yii2, Laravel, CodeIgniter), JavaScript, jQuery, AJAX, HTML5, CSS3, Bootstrap, javascript-frameworks, 3d desidg, graphic design etc. However, I shall discuss about the requirements and functionalities in details to have a better understanding about time frame and price. We are glad to chat with You and discuss all in details. Contact us and we will reply immediately. Waiting for Your reply! Best regards, Webbook team
$480 USD 9日以内
4.9 (118 レビュー)
8.0
8.0
ユーザーアバター
Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joomla, Os-commerce,vBulletin , Zen cart-Drupal , android and IOS , I can create and deliver the project as per the information.I have skilled, expert programmers I'm very excited to assist you in making your Sites successful – please feel free to contact me directly to discuss this position further. Thanks
$567 USD 15日以内
4.7 (444 レビュー)
8.2
8.2
ユーザーアバター
I have gone through your complete requirement and want to discuss the project further with you. Please Let me know the best suitable time for you to schedule the meeting, Feel free to message me at any time, I use to be online 24x7 on Freelancer so probably you will get a quick response from my end. Thanks!
$515 USD 10日以内
5.0 (27 レビュー)
7.1
7.1
ユーザーアバター
Hello, It's a pleasure to let you know that I've Completed and Delivered similar project before. All I need to work on customization part if we can proceed towards more discussion. I have gone through your project description and confident to accomplish your project. I am an individual developer and you will be working directly with me if we proceed work on this project. My key skills are – 1) Ruby 2) Ruby On Rail 3) Angular JS 4) Node JS 5) PHP with Codeigniter and Laravel Framework. 6) App development Let's initiate our chat so we can proceed towards the conclusion of this project scope and give it a start as soon as possible. Thanks & Regards
$555 USD 10日以内
4.8 (10 レビュー)
5.7
5.7
ユーザーアバター
Hello! my name is Viktor. We are IT Company «Webin». We provide website design and web and app development services for organizations, public and government institutions, company or private web-pages. We got acquainted with Your description of the task, our devs can start the work on Your website as soon as You need. We have gained years of experience and expertise working in CMS(Wordpress, Drupal, OpenCart, MoDx), Mockup Designs, Template Customizations, PHP, php-frameworks(Yii/Yii2,laravel), Software Architecture, JavaScript, jQuery, HTML5, CSS3 and Responsive. Our team specialized on developing from the simplest website to the most complex web-based internet applications, electronic businesses, corporate portals and social network services. Now, we are ready to start working on your project. However, we are looking forward to hear from you the detailed descriptions of the task. We are glad to chat with You and discuss all in details. Contact us and we will reply immediately. Waiting for Your reply! With regards, Webin team
$459 USD 11日以内
4.8 (10 レビュー)
5.3
5.3

クライアントについて

CHINAのフラグ
Shanghai, China
5.0
8
お支払い方法確認済み
メンバー登録日:6月 28, 2014

クライアント確認

ありがとうございます!無料クレジットを受け取るリンクをメールしました。
メールを送信中に問題が発生しました。もう一度お試しください。
登録ユーザー 投稿された仕事の合計
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
プレビューを読み込み中
位置情報へのアクセスが許可されました。
あなたのログインセッションの有効期限がきれ、ログアウトされました。もう一度ログインしてください。