How to add my application to my fan page? - facebook-apps

Since Facebook removed Application pages, how to add application (newly created) to fan page? I've found "Create Facebook Page" in application settings but the link "Add to my Page" is missing!

Maybe this is not the best answer, but it should help you.
Go to this URL after replacing APPLICATION_ID with your application ID:
http://www.facebook.com/add.php?api_key=APPLICATION_ID&pages=1

Currently it is:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=YOUR_URL
where:
app_id: Your app's unique identifier. Required.
redirect_uri: The URL to redirect to after a person clicks a button on the dialog. Required when using URL redirection.
from: https://developers.facebook.com/docs/appsonfacebook/pagetabs/

Make sure your page is classified as a brand > App
Your App has to have the same name of your fan page in the name of the page I.E. bobburgerbar page should have the name bobburgerbar Burger App or whatever in it as long as it has bobburgerbar
go to app details
Under contact info it has APP your page should appear
And voila! your app is added
Stupid Facebook

Related

VueJs Address Bar

Hi friends,
The company I work for has a website with an Admin Dashboard. Pages that users can use according to their authorization are listed in the menu. Beautiful so far. However, there is a problem. The person can reach the pages that he cannot see in the menu at the moment, without authorization, from the address bar, by entering the link of the page. How can I prevent access to unauthorized pages from the Address Bar by redirecting them from one place? I don't want to check each page individually. This doesn't make sense. For example, a component with the message "You are not authorized to view this page" may be displayed or automatically redirected to the home page.
I'm waiting for your help. Thanks.
You will need to use a global router navigation guard/hook called beforeEach - as explained in multiple tutorials:
https://css-tricks.com/protecting-vue-routes-with-navigation-guards/
https://www.permify.co/post/implementing-role-based-access-control-in-vue-js

Facebook App into Page Tab

We have created a game which is accessible as an app but cannot get the game into a tab. During the submission stage it reads:
"Our review team will use this page to test your Page Tab app. Your Page Tab app must be installed on this page. Only pages that you admin will appear in the dropdown."
I am admin on 3 different pages, one was built specifically for testing the tab but it says there are no eligible pages and the option is ghosted out, even when a new page is created via this step.
Am i missing something or does anyone else know what i'm doing wrong?

Change Gmail API Name on Login Screen

I made a script using Gmail API to get list of contacts. The script working fine but I want to make it more better as for now, when Login POPUP of Gmail is opened it displays this
xxxxxxxxxx.apps.googleusercontent.com is requesting permission to:
Manage your contacts
Where xxxxxxxxxx is my Client ID. I dont want it to be shown. I want to display my API Project Name here like this
"My API Name" is requesting permission to:
Manage your contacts
Is this even possible to do this? If yes then how?
Thanks
Perhaps try this out:
Search for "Google API Console" in the browser.
On the API console page, on the left hand side menu bar, under "APIs & auth", click on "Consent Screen". Setup project name, upload logo, etc.
See if this helps.
I also seem to remember that during oAuth, you need to pass Application Name (which can be the same as Product Name found in Consent Screen option at step 2 above.

Google+ badge on websites

I am trying to put a Google+ badge on my recently created websites at sites.google.com. When I copy the code and paste it into the HTML box actually nothing happens.
What am I doing wrong?
You can use to insert a Google+ Badge into your Google Sites pages using a custom gadget:
Get your Google+ profile ID, which you can get from the URL of your profile. The ID would be 123456789012345678901 for this URL: https://plus.google.com/123456789012345678901/ or would be +LarryPage for this URL: https://plus.google.com/+LarryPage/
Edit the page that you want to add the badge
Choose Insert-> ...More gadgets...
Search for G+ Badge.
Paste your profile ID into the G+ ID field.
Configure additional options as necessary for your page. You might need to adjust dimensions of the gadget container to get the badge to work well in your site.
Gadgets have limitations, this might not work perfectly but its probably the best way to get a badge onto your page.
There is a configuration tool for the Google+ Badge that you can find at https://developers.google.com/+/web/badge/.
The key points are that you need to add the HTML as a widget and include the JavaScript tag--which is the same JavaScript that loads any of our Google+ attributes.
I also made a 3 minute video explaining these steps last year, which you can view at http://www.youtube.com/watch?v=wLG4IIIPgnc.

Merge facebook website page with facebook app page

I started this website last year, along with a facebook page.
http://www.facebook.com/textbookcentral
I just implemented some more facebook features into my website, which used an app's ID to authenticate with facebook servers.
http://www.facebook.com/apps/application.php?id=214000968642435
Is there a way I can merge both? When users click on the App link on the wall posts my App made, they get taken to the App page, which is empty.
Mainly, I want to keep the http://www.facebook.com/textbookcentral URL, and when people click on the App page, it would have the http://www.facebook.com/textbookcentral URL. It would be a bonus if I could import all the original facebook pages' content, too.
Or, make the App link on wall posts on users page to link to the original page instead.
Please be aware that as of Feb 1st Application Profile Pages are GONE !
Removing App Profile Pages
As for your questions, the link above contains the information about the migration process