Find Jobs
Hire Freelancers

Bygg en hemsida

$250-750 USD

Cancelado
Publicado hace casi 7 años

$250-750 USD

Pagado a la 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 del proyecto: 13637994

Información sobre el proyecto

18 propuestas
Proyecto remoto
Activo hace 7 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
18 freelancers están ofertando un promedio de $545 USD por este trabajo
Avatar del usuario
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 en 9 días
4,9 (118 comentarios)
8,0
8,0
Avatar del usuario
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 en 15 días
4,7 (444 comentarios)
8,2
8,2
Avatar del usuario
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 en 10 días
5,0 (27 comentarios)
7,1
7,1
Avatar del usuario
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 en 10 días
4,8 (10 comentarios)
5,7
5,7
Avatar del usuario
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 en 11 días
4,8 (10 comentarios)
5,3
5,3

Sobre este cliente

Bandera de CHINA
Shanghai, China
5,0
8
Forma de pago verificada
Miembro desde jun 28, 2014

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos 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)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.