I am using reactjs.
I want to add a string in to the share popup's input field, but I had no success.
Is this option available yet?
Prefilling the text is not possible and (even more important) not allowed:
https://developers.facebook.com/docs/apps/review/prefill
Related
I want to get the id of an element in google forms. I found on the internet that it can be done by right clicking on the element and opening inspect element. It is working for older forms but, for new forms, it doesn't show any id attribute. I am posting both images of inspect element.
Old forms:
New forms:
In new form google have replace id with name attribute.So do one thing, write something in textbox then rightclick on textbox and open inspect element, Here you will find item tag with name attribute which is the key you want
For eg,
<input name="entry.123456" >
Maybe I can help you in finding the id's of the element.
After submitting the form you can look for headers{Form Data} in the network section of developer tools.
You will find something like this..
entry.102708304: "Your response"
102708304 is the id..
Hope my answer was useful. Thank You.
Try pressing Ctrl+U when on the Google Website. In Firefox this will show up the complete HTML Code where you can search better. There has to be set an Id, because otherwise the text in the element couldn't be accessed
hi this has changed a bit,
you need to get a pre filled link via 3 dot menu then prefilled link , copy it into an editor and confirm these entries.
I could not find it visible anywhere in the source code and there are a ton of JS names that seem random and 0 name inputs on my form
just created a from using "custom form" with input fields like - "Title", "Caption", "Alternate Text", and a button called "Submit". After submit i need to show the entered input fields as an output in another page. How can i achieve this.
Pls guide me with step by step solution. I am not a developer, Im just a designer
So, you created a custom type and added those fields.
Then created a custom form with this type.
You can configure the form to redirect after submit thanks to an textbox that allows to use Tokens, i.e dynamic information retrieved by the content.
Thanks to this, you should be able to redirect to the display url of the content.
To display the output the way you want in another page, you need to make an override of your content in your theme.
You can enable the 'Shape tracing' feature to generate this alternate view of your content and then modify it as you want.
Can anyone think of a reason why a text box is missing from my EditView?
It's a URL field for a Twitter profile that builds a URL using the Twitter username.
There's an identical field for LinkedIn next to it that doesn't use this URL builder, which has the text box as expected.
The Twitter field was originally just text, without a special URL.
Any ideas?
Thanks
It is not editable because it pulls text from another field to calculate the value. As soon as you make it this type of field, you cannot directly edit it.
I had assumed that I could use a single field, holding the username, and display the URL using a rule (to add http://twitter.com to the front). It seems you must use 1 field for the username, and 1 field to hold the calculated URL
I am using the Advanced Custom Fields Plugin (http://www.advancedcustomfields.com) with the options page add-on so I can use global variables throughout the theme (on multiple pages).
I don't know PHP and I'm trying to get the custom field from the options page by using a shortcode in the content on the different pages inside the WYSIWYG editor.
Is this possible? I can't figure out how to do it after days of trying. Can anyone help? I've tried going to the plugin's support and haven't gotten anything back.
Please Help! I really need to get this working!
References:
http://www.advancedcustomfields.com/docs/functions/using-shortcodes/
http://www.advancedcustomfields.com/add-ons/options-page/
Figured out a way around it. I can just use the shortcode they provide to reference a specific post/page ID which accomplishes the goal of only having to put it in once and it being rendered at multiple pages as long as the shortcode is there and properly formatted.
Use the post_id of option in your shortcode as per this example:
[acf field="myfieldname" post_id="option"]
Block type: Text Block (WYSIWYG field)
Text:
[acf field="NAME-OF-ACF-FIELD" post_id="options"]
Image (Return Format: Image URL) and alt text:
<img src="[acf field='NAME-OF-ACF-FIELD' post_id='options']" alt="[acf field='NAME-OF-ACF-FIELD' post_id='options']" />
I used to be able to construct a link like this:
http://www.facebook.com/connect/prompt_feed.php?message=hello
It would go to the page it currently does (click on the link to see) but it used to pre-populate the text field with the value of the message parameter. Now the text field is empty.
I suppose facebook changed this functionality, but is there a replacement that provides the same functionality? Note that I do not want to have to authenticate the user or connect them to an app. I am looking for a simple url that will just open a new window with a status message pre-populated so the user can just click "Share" (exactly how this prompt_feed.php used to work). Anybody know of a way to do this?
What about the feed dialog?
See here: https://developers.facebook.com/docs/reference/dialogs/feed/
Update: Ok, now I see that the user must have already authorized the app : [
Update 2: This isn't either a full replacement but an alternative - you could use the sharer php
http://www.facebook.com/sharer.php?u=yoursite.com&t=yourtitle
In that case yoursite.com should contain og meta tags. It does not prefill the message though : [