Inserting image, text and link in the object_story_spec, the post is created automatically and made visible on the fan page? - facebook-ads-api

Good day.
I should want to create a POST_ENGAGEMENT Facebook Ad campaign creating a post on a fan page when I publish the adcreative. In order to develop it, now I use sandbox account. If I insert image, text and link on object_story_spec field, the post is automatically create and made visible on a fan page? Now I'm developing the source code of my web application with sandbox account and in this way I don't see the post on the specified fun page. If I use the real ad account the post is created on a page?
Best regards.
Stefano ERrani

Related

How does my user access a ServiceNow application that I created?

I am researching ServiceNow, I know next to nothing about it. Funny how the most obvious questions seem to be the hardest to Google. My specific question is about applications.
ServiceNow runs as SaaS, correct? So, if I build a ServiceNow application, for a user to access that application, they would open the ServiceNow platform in their browser, then they would have a menu of applications they could launch, correct?
Is it possible to host a ServiceNow application on a specific page, or on a website, or embed it in a SharePoint page, so I can give out a URL for a user to run the application? Or do they always have to navigate through the ServiceNow portal to run my application?
I know this sounds like a dumb question. But everything I have read assumes you already know this information, so a dumb, obvious question it has to be.
ServiceNow assumes that it is managing the entire window (or tab). You might be able to get something to work using HTML frames, but there is a good chance it would break with a future ServiceNow upgrade.
On the other hand, it possible to redirect a user into a specific ServiceNow page by constructing the appropriate URL. If the user does not already have an active session cookie then ServiceNow will prompt them to authenticate. You can redirect to a specific Service Portal page, or a specific catalog item or a specific record. You can redirect to a ServiceNow Dashboard. If you want to show a list of records, you can dynamically build a query. You can redirect into Agent Workspace or the classic platform UI. If directing into the classic platform UI you can show or hide the ServiceNow navigation menu based on whether or not your URL contains nav_to.do?.
There is a bit of an introduction on this page, although it really only scratches the surface:
https://docs.servicenow.com/bundle/sandiego-platform-user-interface/page/use/navigation/reference/r_NavigatingByURLExamples.html
If you want to drive ServiceNow from a web site or from SharePoint, then you just need to construct the right URL which will open ServiceNow in a new browser tab.

Why can't my client through his login update the calendar on his page that we created for him via Joomla?

We are having some trouble with a website we recently developed for a client of ours. He is a DJ. For his page, we added a tab that contains a calendar where he can post his events.
Using the admin login, I can successfully post events. However, the client (the DJ) cannot. When I tried using his login, I could not enter events either. Even stranger, I gave the client the admin login (which I used successfully) and he still couldn't post events! I even walked him through it, and he followed the same instructions, but no luck.
We can't figure this out. Here is the site in case it helps to review it.
Make the DJ's account a "super user" OR if you are using Joomla 2.5 or 3.0 you can change the permissions to give his user type access to the calendar.
Good luck!

Composite C1 - Membership Provider - Simple Registration and Login

I am developing my first application using the Composite C1 CMS as the core system. I am currently working my way through the documentation and learning about data structuring, etc. I see that there is a paid Extranet package which can be purchased but I would prefer to develop my own Membership system within the site.
What would be the best way for me to allow users to register on the front end of my Composite C1 website and then to allow them access to a password protected area once they have registered and logged in?
I am a fairly experienced .net developer but Composite C1 is very new to me (at first impressions I like it a lot!)
Thanks
Like the commercial Extranet package you can write a RenderingResponseHandler plugin and register it it the ~/App_Data/Composite/Composite.config file.
Check the guide "How can I validate users before a page or media file is being served?"
RenderingResponseHandler plugins are tasked with approving page and media requests and they can either let the request pass or redirect the request to a new URL.
You would need to take care of the user data base and login page yourself. Also some mechanism that would allow a user of the cms to mark pages as protected/public might make sense.
There is relevant pointers on the CodePlex thread "Restricting access to MediaArchive files"

Post Image through Graph API change Via Link

I am using a facebook php SDK to post image to users album using the user access token. First we will generate the token and then post the image. My issue is that posting image works fine but below each image on right side, facebook adds a link 'via MY APPLICATION NAME'.This link redirects user to my application page in facebook (http://www.facebook.com/apps/application.php?id=APPLICATION ID). I want to change this link to point to my personal website URL (www.abc.com).
Please let me know if this is possible.
I've seen other apps do it, and am looking for the same thing. I've glanced over all the app settings, and am currently reading the api trying to figure it out. It's probably going to be something stupid like deleting all the other urls to force it to default to your site url in the app settings...Let me know if you have any luck with this.

Updating App with Web Information

Hey everyone, I am sorry if this question has already been asked/answered
But I have a Cocoa program that has different arrays of models. Each model hold just Strings and one Image. Archiving and Loading works great.
Each model represents a web account, that is, it holds the username and password, and some other information related to the website. Moving forward I would like to be able to update information in each model by accessing the information from the website. For example updating a balance ($). I am wondering if there is a way to do that programatically that is:
Automatically log into web account using the entered username, pass, and website url
Update the balance based on the information following log in.
Thanks for the help in advance!
Tamara
There is no single approach to log into any arbitrary website. You will need to know what the API for the given website is. If the website provides a web service to query things like balance, then you would connect using that web service (REST-based if at all possible; SOAP is more of a pain in Cocoa), and update your model based on the results. If the website provides no web service, then you would have to scrape through the HTML responses looking for what you want, and this is generally very complex and fragile. There is no general answer to this question; you'd have to know what form the website is in.
On another note, make sure that you are not storing user passwords in unencrypted files. User passwords on Mac should always be stored in Keychain. There are many posts on SO about how to best use Keychain.
Rob, isn't it possible to just look through the login page's html source and see what are the names of the fields for user and pass, and then just send a POST request to that page from code ?

Resources