About

Some pages do not get offered as suggestions when completing forms on facebook and cannot be added. Suppose you are a starting company and you would like to add your workplace at that company. Odds are that when you go to update your profile, you are unable to add your company as your workplace. This article describes how to do that by manipulating the input forms on Facebook in order to inject the proper ID necessary to reference a page.

Assets and Forms on Facebook

Every asset can be referenced on Facebook by an ID which can be obtained using the graph API directly from Facebook. the main reason is that two different assets may carry the same name, yet they can be different - for example, a company using the same name but registered in two different states.

Referencing in Forms

Forms on Facebook use the ID of a given asset (an asset can be a page, your username, a picture and so on). For example, if we wanted to add Hogwarts School of Witchcraft and Wizardry as a workplace. We first retrieve the ID by visiting:

https://graph.facebook.com/TheHogwartsSchool

and finding out the ID:

{
   "id": "127824637288441",
   "about": "Welcome to one of the biggest fan-made Harry Potter pages on Facebook. This page is dedicated to Harry Potter fans, made by Harry Potter fans.",
...

Then, we go to the workplace form on our profile and select any company you want (it does not have to be correct):

Now, depending on the browser (Chrome in this example), you can right-click the form an select Inspect Element at the bottom of the pop-up menu.

This will open up a bottom pane, where you can hit Ctrl+F and search for employer_id in the source of the page. You will find two entries, one of them is just the bare input field:

<input type="hidden" autocomplete="off" class="hiddenInput" name="employer_id" value="">

and the next will be the input field with the completed ID of United Federation Starfleet:

<input type="hidden" autocomplete="off" name="employer_id" value="80770906532">

Note the ID 80770906532 which corresponds to United Federation Starfleet. If you double-click the ID 80770906532, Google Chrome will let you edit it:

So, since we want to be an employee of Hogwarts School of Witchcraft and Wizardry and we know that their ID from the graph API is 127824637288441, we substitute the ID in the form 80770906532 for United Federation Starfleet for the new ID 127824637288441 of the Hogwarts School of Witchcraft and Wizardry and hit return in the bottom frame, so it looks like:

<input type="hidden" autocomplete="off" name="employer_id" value="127824637288441">

The image will not change right away, so feel free to either fill-in the Position, City/Town, Description and Time Period boxes and then click the Add Job button. When you submit the form by clicking the Add Job button, the form values will be sent to Facebook, along with the new ID 127824637288441 and the picture will change to Hogwarts School of Witchcraft and Wizardry's picture along with any data you have filled-in.


facebook/referencing_unlisted_assets.txt ยท Last modified: 2022/04/19 08:28 by 127.0.0.1

Access website using Tor Access website using i2p Wizardry and Steamworks PGP Key


For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.