Im have coded a small CMS for creating FB_Pages. The CMS works great, but i wan't that the users publish their new generated pages automaticly.
I have created a main application to get permissions (managa my pages etc...). I can create a new tabs on existing userpages. But i have no idea how to publish the new generated Page in it.
Is it possible to create a "child applications" via graph api?.
Unfortunately this is currently not possible. Users will have to create their own apps.
Related
I have created the SPFx web part for custom development in SharePoint online modern site.
I have created multiple subsites under one site collection. I need to add the SPFx web part to all sub-sites.
I have tried to save a template of one site but it doesn't allow me to save the site as a template. It has thrown me the below error,
Sorry, this site can't be saved as a template. It contains apps that
don't work in templates: spfx-demo-client-side-solution
I have tried another way. I have created a site to add all necessary lists, libraries, and pages. I have successfully saved the template for that site. I have created many subsites using that custom template.
Now, I need to add my SPFx web part to the sites that were created using a template.
For that, I need to add the SPFx app to all subsite's Site Contents and add the SPFx web part to all subsite's Site Pages. Can I achieve that with PowerShell or do I need to prefer some alternative way?
Can anyone help me with the same?
Thanks in Advance.
I need to post story on usertimeline via my website.Right now I've created one sample application for that,created story,action and object from app dashboard in facebook and it works, but I don't want to create story from appdashboard each and everytime.I want to create story dynamically from my website.Is it possible to create Open graph API Action and Story from my website?
No this is not possible. You must create the stories through the application settings. It wouldn't make sense to programmatically do it since you need to submit for approval anyway.
Been fixing some issues with our "Like"-buttons on several sites, since apparently you need to post them via an Open Graph application since Nov. 7th?
One of the requirements so it seems is to create a page for your application, but we've already had a Facebook page for our blog. Is there anyway I can merge them? I see no use for keeping a separate App Page next to our default page?
I am trying to create a sweepstakes application.
I am trying to copy wildfire.
But I am unable to create facebook applications dynamically like they are doing.
I checked it they are using graph api to show on front end but there is no method available in graph api to create applications dynamically.
Can anyone please guide me how wildfire is doing dynamic app creation. Is there any alternative available?
In general, they are likely not creating new applications for each client. Unless you can show us evidence of this, it is the same application being installed many times onto their client's Facebook Pages.
The application script can detect the Page ID and change the display logic appropriately. Seen here:
Get Facebook fan page ID
If you really want to create applications for your clients, take a look at this thread:
http://facebook.stackoverflow.com/questions/6264080/create-a-facebook-application-programmatically
EDIT (Not being able to comment is horrible) in response to J's post:
There is not a way to create applications entirely programmatically, but you can get really close creating a user-flow around:
https://www.facebook.com/connect/create_app.php?api_key=[key]&name=app_name
Where [key] is the api_key of the parent application. It isn't documented anywhere so you should have a manual fall back in place. The link above does work to create a new Facebook application tied to the currently logged in user (the parent api_key does not seem to have any effect but it is required).
To determine the api_key of the application created, ask the user for the appropriate permission and query /accounts to retrieve a list of Facebook applications the user owns. Do this before and after the user clicks the above link to determine which one was just created. From there, have the user get a new access_token and get the appropriate permissions to modify application settings. You should then customize the newly created application.
Mike
This has been mentioned several times in the old Facebook forum.
Wildfire, North Social et al, do not create applications dynamically. It's the same application being installed by many clients.
How is this possible? Well, when a Page loads a tab application, Facebook pass you a signed_request parameter. When you decode this signed request with your application's id and secret, you will find inside the page id from where the tab application is being called. You can then use this to work out which of your clients is making the call to your code and therefore what content to deliver to the browser.
There have been changes to the Graph API recently to allow you to manage applications once created but you cannot (and likely will never be able to) create applications programmatically through the Graph API.
The second thread mentioned by Mike mentions child applications but this was deprecated from the Facebook code base some time ago and would not actually allow the creation of applications in the way I assume you want.
J
I cannot find the "create feed template" option on my applications page.
Do I need to authorize my application? I didnt do that yet and am able to allow the user to login and allow permissions etc.
I havent submitted my application as it says the app needs 5 people or 10 monthly users, I just created it and my iphone app isnt out yet?
If I get to the Test console on facebook I dont see my app in the drop down menu? I dont even see a drop down menu.
How Do I create a template? Did facebook change the layout again :P making these tutorials off point?
Yea there's no such thing as templates anymore, you just pass the content as part of the api call.
Start here: http://developers.facebook.com/docs/reference/rest/stream.publish