Find Jobs
Hire Freelancers

Bygg en hemsida

$250-750 USD

Cancelado
Publicado há quase 7 anos

$250-750 USD

Pago na entrega
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 do Projeto: 13637994

Sobre o projeto

18 propostas
Projeto remoto
Ativo há 7 anos

Quer ganhar algum dinheiro?

Benefícios de ofertar no Freelancer

Defina seu orçamento e seu prazo
Seja pago pelo seu trabalho
Descreva sua proposta
É grátis para se inscrever e fazer ofertas em trabalhos
18 freelancers estão ofertando em média $545 USD for esse trabalho
Avatar do Usuário
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 em 9 dias
4,9 (118 avaliações)
8,0
8,0
Avatar do Usuário
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 em 15 dias
4,7 (444 avaliações)
8,2
8,2
Avatar do Usuário
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 em 10 dias
5,0 (27 avaliações)
7,1
7,1
Avatar do Usuário
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 em 10 dias
4,8 (10 avaliações)
5,7
5,7
Avatar do Usuário
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 em 11 dias
4,8 (10 avaliações)
5,3
5,3

Sobre o cliente

Bandeira do(a) CHINA
Shanghai, China
5,0
8
Método de pagamento verificado
Membro desde jun. 28, 2014

Verificação do Cliente

Obrigado! Te enviamos um link por e-mail para que você possa reivindicar seu crédito gratuito.
Algo deu errado ao enviar seu e-mail. Por favor, tente novamente.
Usuários Registrados Total de Trabalhos Publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Carregando pré-visualização
Permissão concedida para Geolocalização.
Sua sessão expirou e você foi desconectado. Por favor, faça login novamente.